assignAsCommander: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 9: Line 9:


'''Operand types:'''
'''Operand types:'''
'''soldier:''' [[Object]]
'''soldier:''' [[Object]]



Revision as of 15:51, 6 July 2006


soldier assignAsCommander vehicle


Operand types:

soldier: Object

vehicle: Object

Type of returned value:

Nothing

Description:

Assign soldier as commander of given vehicle.


Example:

player assignAsCommander tankOne


Comments:

To make the unit get into the vehicle you will need to use the command orderGetIn after you have issued the assignAsCommander command.