attackEnabled: Difference between revisions
| mNo edit summary | m (Text replacement - "\[\[Category\: ?Command[ _]Group\:.*\|\{\{uc\:\{\{PAGENAME\}\}\}\}\]\] " to "") | ||
| Line 43: | Line 43: | ||
| [[Category:Scripting Commands OFP Elite|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands OFP Elite|{{uc:{{PAGENAME}}}}]] | ||
| [[Category:Scripting Commands Armed Assault|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Armed Assault|{{uc:{{PAGENAME}}}}]] | ||
| [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
| [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
| [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 15:56, 24 September 2020
Description
- Description:
- Return whether a group's leader can issue attack commands to soldiers under his command.
- Groups:
- GroupsUnit Control
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
