addCustomWaypointContext - gruppe-adler/grad-aiCommand GitHub Wiki

grad_aicommand_fnc_addCustomWaypointContext

Adds custom entry to group context menu. Returns ID of added entry.

Syntax

[displayName, statement] call grad_aicommand_fnc_addCustomWaypointContext

Parameter Explanation
displayName String - Name that will be displayed in context menu.
statement String - Statement that will be executed. Passed params are [group,waypoint].

Example

["myCustomWaypointThing","diag_log _this"] call grad_aicommand_fnc_addCustomWaypointContext;