attackEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (missing cat)
mNo edit summary
Line 34: Line 34:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>


[[Category:Scripting Commands|ACCTIME]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP Elite|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP Elite|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]

Revision as of 05:38, 28 December 2006

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

Description

Description:
Return whether leader can issue attack commands.
Groups:
Uncategorised

Syntax

Syntax:
attackEnabled group
Parameters:
group: Object or Group
Return Value:
Boolean

Examples

Example 1:
if (not attackEnabled soldier) then {soldier setCombatMode "Careless"}

Additional Information

See also:
See also needed

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