moveInDriver: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Added MP Note about local effects)
Line 26: Line 26:


soldierOne '''moveInDriver''' tankOne
soldierOne '''moveInDriver''' tankOne
'''MP Note'''
Functions MoveInXXX can only be called for local soldiers. They will be ignored for remote soldiers. (see [[Locality_in_Multiplayer|Locality in Multiplayer]])

Revision as of 15:10, 25 July 2006


soldier moveInDriver vehicle


Operand types:

soldier: Object

vehicle: Object

Type of returned value:

Nothing

Description:

Move soldier into vehicle driver position (Immediate, no animation).


Example:

soldierOne moveInDriver tankOne


MP Note

Functions MoveInXXX can only be called for local soldiers. They will be ignored for remote soldiers. (see Locality in Multiplayer)