enableAttack: Difference between revisions
Jump to navigation
Jump to search
SilentSpike (talk | contribs) m (code formatting example) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Set if leader can issue attack commands to the soldiers in his group. |= | | Set if leader can issue attack commands to the soldiers in his group. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| group '''enableAttack''' enable |= | | group '''enableAttack''' enable |SYNTAX= | ||
|p1= group: [[Object]] or [[Group]] |= | |p1= group: [[Object]] or [[Group]] |PARAMETER1= | ||
|p2= enable: [[Boolean]] |= | |p2= enable: [[Boolean]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_group1 '''enableAttack''' true</code> |= | |x1= <code>_group1 '''enableAttack''' true</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[attackEnabled]] |= | | [[attackEnabled]] |SEEALSO= | ||
}} | }} |
Revision as of 14:38, 7 April 2019
Description
- Description:
- Set if leader can issue attack commands to the soldiers in his group.
- Groups:
- Uncategorised
Syntax
- Syntax:
- group enableAttack enable
- Parameters:
- group: Object or Group
- enable: Boolean
- Return Value:
- Nothing
Examples
- Example 1:
_group1 enableAttack true
Additional Information
- See also:
- attackEnabled
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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands ArmA
- Command Group: Unit Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters