Laser Functions

ace_laser_fnc_getLaserCode

Description

Gets the laser code of a laser source.

Parameters

Index Description Datatype(s) Default Value
0 Laser source OBJECT  

Return Value

Description Datatype(s)
Laser code NUMBER

Example

player call ace_laser_fnc_getLaserCode;

Authors

  • johnb43

ace_laser_fnc_setLaserCode

Description

Sets the laser code on a laser source.

Parameters

Index Description Datatype(s) Default Value
0 Laser source OBJECT  
1 Laser code NUMBER  

Return Value

None

Example

[player, 1111] call ace_laser_fnc_setLaserCode;

Authors

  • johnb43