attackEnabled: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (can be used on remote groups (changes on clients may take several seconds to propagate), see also, description) |
||
Line 5: | Line 5: | ||
|1.00|= Game version | |1.00|= Game version | ||
|arg= global |= Arguments in MP | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Return whether leader can issue attack commands. |= Description | | Return whether a group's leader can issue attack commands to soldiers under his command. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 20: | Line 22: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[enableAttack]] |= See also | ||
}} | }} |
Revision as of 11:55, 19 February 2009
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