attackEnabled: Difference between revisions
Jump to navigation
Jump to search
m (typo) |
m (=) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''attackEnabled''' UnitOrGroup |= Syntax | | [[Boolean]] <nowiki>=</nowiki> '''attackEnabled''' UnitOrGroup |= Syntax | ||
|p1= UnitOrGroup : [[Object]] or [[Group]] |= Parameter 1 | |p1= UnitOrGroup : [[Object]] or [[Group]] |= Parameter 1 |
Revision as of 01:47, 25 August 2007
Description
- Description:
- Return whether leader can issue attack commands.
- Groups:
- Uncategorised
Syntax
- Syntax:
- Boolean = attackEnabled UnitOrGroup
- Parameters:
- UnitOrGroup : Object or Group
- Return Value:
- Boolean
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