enableAttack: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma1 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 24: | Line 24: | ||
|gr2= Unit Control | |gr2= Unit Control | ||
| Set if leader can issue attack commands to the soldiers in his group. | |descr= Set if leader can issue attack commands to the soldiers in his group. | ||
|s1= group '''enableAttack''' enable | |s1= group '''enableAttack''' enable |
Revision as of 21:05, 13 June 2021
Description
- Description:
- Set if leader can issue attack commands to the soldiers in his group.
- Groups:
- GroupsUnit Control
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