commander: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|C]]
[[Category:Scripting Commands|COMMANDER]]
[[Category:Scripting Commands OFP 1.97|C]]
[[Category:Scripting Commands OFP 1.97|COMMANDER]]
[[Category:Scripting Commands OFP 1.46|C]]
[[Category:Scripting Commands OFP 1.46|COMMANDER]]
[[Category:Scripting Commands ArmA|C]]
[[Category:Scripting Commands ArmA|COMMANDER]]





Revision as of 14:37, 4 May 2006


commander vehicle


Operand types:

vehicle: Object

Type of returned value:

Object

Description:

Commander of the vehicle, if vehicle is not a vehicle but is a person, then the person is returned.


Example:

_unit = commander vehicle player