mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
6be8cc8d84
Updated: comments and function defs Changed: pass function name, not full code.
25 lines
598 B
Plaintext
25 lines
598 B
Plaintext
/*
|
|
* Author: jaynus
|
|
* Turns off passed laser self designation.
|
|
*
|
|
* Argument:
|
|
* 0: Shooter, player shooting the laser
|
|
* 1: LaserUUID, the UUID of the laser returned by EFUNC(laser,laserOn)
|
|
* 2: Local laser target, unused.
|
|
*
|
|
* Return value:
|
|
* true
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
if( (count _this) > 2) then {
|
|
EXPLODE_3_PVT(_this,_shooter,_laserUuid, _localLaserTarget);
|
|
|
|
[_laserUuid] call EFUNC(laser,laserOff);
|
|
// @TODO: Nou gets to field all tickets about missing lasers.
|
|
//deleteVehicle _localLaserTarget;
|
|
};
|
|
|
|
GVAR(active) = false;
|
|
|
|
true |