setCanUseHighcommand - gruppe-adler/grad-aiCommand GitHub Wiki

grad_aicommand_fnc_setCanUseHighcommand

Sets if a unit can high command mode. Effect is global.

Syntax

[unit, canUse] call grad_aicommand_fnc_setCanUseHighcommand

Parameter Explanation
unit Object - The unit to set the give commands ability of.
canUse Bool - Can this unit use high command mode?

Example

[player,true] call grad_aicommand_fnc_setCanUseHighcommand;