attackEnabled: Difference between revisions
| m (can be used on remote groups (changes on clients may take several seconds to propagate), see also, description) |  (updated) | ||
| Line 40: | Line 40: | ||
| [[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]] | ||
| [[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]] | ||
| [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | |||
Revision as of 15:44, 3 June 2009
Description
- Description:
- Return whether a group's leader can issue attack commands to soldiers under his command.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
- if (not attackEnabled _soldier) then {_soldier setCombatMode "Careless"}
Additional Information
- See also:
- enableAttack
Notes
- 
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
 Only post proven facts here! Add Note
