Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.00

Description

Description:Returns whether a group leader can issue attack commands to soldiers under their command.

Syntax

Syntax:attackEnabled name
Parameters:
  • name: Object or Group - Leader of a group, or the group itself.
Return Value:Boolean

Examples

Examples:
if (not attackEnabled soldier1) then {soldier1 setCombatMode "BLUE"} 

Additional Information

See also: enableAttack
Multiplayer: 
Problems: 

Notes