ACE3/addons/laser/functions/fnc_laserOff.sqf
Nicolás Badano ab6fc8efca Laser guidance for all designators (#3308)
* Fix laser and missileguidance over water

* Return a normalized vector in EFUNC(common,getTurretDirection)

* Make laser dispersion simulation optional, default off

* Prototype for ace_laser_designate

* Remove vanilla laser handling from ace_laser in favor of the new code on ace_laser_designate

* Simplify laser into one module

Rewrite large parts of laser
Merge laser_designate
Delete lase_selfDesignate

* Cleanup missile guidance

* Headers, fix laser over water

* Cleanup

* Test

* Change setting to scalar, more cleanup

* Add seeker debug drawing
2016-10-08 12:55:30 +02:00

23 lines
369 B
Plaintext

/*
* Author: Nou
* Turn a laser designator off.
*
* Arguments:
* 0: UUID (from laserOn) <STRING>
*
* Return value:
* None
*
* Example:
* ["yourLaserUID"] call ace_laser_fnc_laserOff;
*
* Public: No
*/
#include "script_component.hpp"
params ["_uuid"];
TRACE_1("Sending Global Laser Off Event",_uuid);
["ace_laserOff", [_uuid]] call CBA_fnc_globalEvent;