addCustomWaypointAction - gruppe-adler/grad-aiCommand GitHub Wiki
grad_aicommand_fnc_addCustomWaypointAction
Adds custom entry to waypoint action context submenu. Returns ID of added entry.
Syntax
[displayName, statement] call grad_aicommand_fnc_addCustomWaypointAction
Parameter | Explanation |
---|---|
displayName | String - Name that will be displayed in context menu. |
statement | String - Statement that will be executed. Passed variables are this (group leader) and thisList (group units). |
Example
["myCustomWaypointAction","diag_log [this,thisList]"] call grad_aicommand_fnc_addCustomWaypointAction;