attackEnabled: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 70393 by Str_bi_wiki on 2013-03-25T10:44:08Z) |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Return whether a group's leader can issue attack commands to soldiers under his command. |= | | Return whether a group's leader can issue attack commands to soldiers under his command. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Boolean]] <nowiki>=</nowiki> '''attackEnabled''' name |= | | [[Boolean]] <nowiki>=</nowiki> '''attackEnabled''' name |SYNTAX= | ||
|p1= name: [[Object]] or [[Group]] |= Parameter 1 | |p1= name: [[Object]] or [[Group]] |= Parameter 1 | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 22: | Line 22: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[enableAttack]] |= | | [[enableAttack]] |SEEALSO= | ||
}} | }} |
Revision as of 11:26, 7 April 2019
Description
- Description:
- Return whether a group's leader can issue attack commands to soldiers under his command.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
if (not attackEnabled _soldier) then {_soldier setCombatMode "Careless"}
Additional Information
- See also:
- enableAttack
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 OFP Elite
- Scripting Commands ArmA
- Command Group: Object Information
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters