effectiveCommander: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters") |
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|") |
||
Line 35: | Line 35: | ||
[[Category:Scripting Commands|EFFECTIVECOMMANDER]] | [[Category:Scripting Commands|EFFECTIVECOMMANDER]] | ||
[[Category:Scripting Commands | [[Category:Scripting Commands Armed Assault|EFFECTIVECOMMANDER]] | ||
[[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]] |
Revision as of 19:08, 3 June 2020
Description
- Description:
- Returns the effective commander of the vehicle. Effective commander is the player whom driver AI will listen to. So if in a tank there is a gunner and a commander and AI driver, if the effectiveCommander is gunner, then gunner pressing WASD will give AI orders to move. If gunner jumps out and then enters tank again, the effectiveCommander role most likely has changed to commander that remained in tank. Also the assignment seems to work on first come first served basis.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_commander = effectiveCommander tank;
Additional Information
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 Armed Assault
- Command Group: Groups
- Command Group: Object Information
- Scripting Commands Arma 2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters