createVehicleLocal: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
[[Category:Scripting Commands ArmA|CREATEVEHICLELOCAL]] | [[Category:Scripting Commands ArmA|CREATEVEHICLELOCAL]] | ||
<h2 style="color:#000066">'''''type'' createVehicleLocal ''pos'''''</h2> | |||
'''Operand types:''' | |||
''' | '''type:''' [[String]] | ||
'''pos:''' [[Array]] | |||
'''Type of returned value:''' | '''Type of returned value:''' | ||
[[Object]] | |||
'''Compatibility:''' | '''Compatibility:''' | ||
Version 2.56 required. | |||
'''Description:''' | '''Description:''' | ||
Creates an empty vehicle of the given '''type'''. | |||
'''Pos''' is in format [[Position]]. | |||
See [[CfgVehicles]] for possible type values. | |||
Vehicle is not transferred through network in MP games. | |||
'''Example:''' | '''Example:''' | ||
_tank = "M1Abrams" '''createVehicleLocal''' [[getmarkerpos]] "tankFactory" |
Revision as of 01:42, 6 July 2006
type createVehicleLocal pos
Operand types:
type: String
pos: Array
Type of returned value:
Compatibility:
Version 2.56 required.
Description:
Creates an empty vehicle of the given type.
Pos is in format Position.
See CfgVehicles for possible type values.
Vehicle is not transferred through network in MP games.
Example:
_tank = "M1Abrams" createVehicleLocal getmarkerpos "tankFactory"