setCanGiveCommands - gruppe-adler/grad-aiCommand GitHub Wiki
grad_aicommand_fnc_setCanGiveCommands
Sets if a unit can give commands to AI. Effect is global.
Syntax
[unit, canGive] call grad_aicommand_fnc_setCanGiveCommands
Parameter | Explanation |
---|---|
unit | Object - The unit to set the give commands ability of. |
canGive | Bool - Can this unit give commands to AI? |
Example
[player,true] call grad_aicommand_fnc_setCanGiveCommands;