setVehicleInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 25: Line 25:
Execute statement attached to vehicle.
Execute statement attached to vehicle.


This statement is also propagated over network in MP games.  
This statement is also propagated over network in MP games, it can be processed by using [[processInitCommands]].





Revision as of 19:12, 19 July 2006


vehicle setVehicleInit statement


Operand types:

vehicle: Object

statement: String

Type of returned value:

Nothing

Compatibility:

Version 2.33 required.

Description:

Execute statement attached to vehicle.

This statement is also propagated over network in MP games, it can be processed by using processInitCommands.


Example:

soldier3 setVehicleInit "this allowfleeing 0"