mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
28e45c2979
* Getter and setter for laser codes * Documentation * Sanitising input
729 B
729 B
layout | title | description | group | order | parent | mod | version | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
wiki | Laser | Explains the functions available for laser designators. | framework | 5 | wiki | ace |
|
1. Scripting
1.1. Get object's laser code
ace_laser_fnc_getLaserCode
Arguments | Type | Optional (default value) | |
---|---|---|---|
0 | Unit/Vehicle | Object | Required |
R | Laser code | Number | Return value |
1.2. Set object's laser code
ace_laser_fnc_setLaserCode
Arguments | Type | Optional (default value) | |
---|---|---|---|
0 | Unit/Vehicle | Object | Required |
1 | Laser code | Number | Required |
R | None | None | Return value |