attackEnabled: Difference between revisions
| m (changed global to local variable to make clear the variable) | mNo edit summary | ||
| Line 10: | Line 10: | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | [[Boolean]] <nowiki>=</nowiki> '''attackEnabled'''  | | [[Boolean]] <nowiki>=</nowiki> '''attackEnabled''' name |= Syntax | ||
| |p1=  | |p1= name: [[Object]] or [[Group]] |= Parameter 1 | ||
| | [[Boolean]] |= Return value | | [[Boolean]] |= Return value | ||
Revision as of 23:05, 21 January 2009
Description
- Description:
- Return whether leader can issue attack commands.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
- if (not attackEnabled _soldier) then {_soldier setCombatMode "Careless"}
Additional Information
- See also:
- See also needed
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
