effectiveCommander: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
|1.00|Game version= | |1.00|Game version= | ||
|gr1= Unit | |gr1= Unit Control |GROUP1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 10:26, 27 September 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:
- Unit Control
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