enableAttack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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. |= Description
| Set if leader can issue attack commands to the soldiers in his group. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| group '''enableAttack''' enable  |= Syntax
| group '''enableAttack''' enable  |SYNTAX=


|p1= group: [[Object]] or [[Group]] |= Parameter 1
|p1= group: [[Object]] or [[Group]] |PARAMETER1=
|p2= enable: [[Boolean]]            |= Parameter 2
|p2= enable: [[Boolean]]            |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_group1 '''enableAttack''' true</code>  |= Example 1
|x1= <code>_group1 '''enableAttack''' true</code>  |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[attackEnabled]] |= See also
| [[attackEnabled]] |SEEALSO=


}}
}}

Revision as of 14:38, 7 April 2019

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

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