createVehicleLocal: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
||
Line 40: | Line 40: | ||
[[Category:Command_Group:_Object_Manipulation|CREATEVEHICLELOCAL]] | [[Category:Command_Group:_Object_Manipulation|CREATEVEHICLELOCAL]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 11:47, 25 March 2013
Description
- Description:
- Creates an empty vehicle of the given type. See CfgVehicles for possible type values. Vehicle is not transferred through network in MP games.
- Groups:
- Uncategorised
Syntax
- Syntax:
- Object = type createVehicleLocal position
- Parameters:
- type: String
- position: Position
- Return Value:
- Object
Examples
- Example 1:
_tank = "M1Abrams" createVehicleLocal getMarkerPos "tankFactory"
Additional Information
- See also:
- createUnitcreateUnit arraycreateVehicle arraycreateVehicledeleteVehiclecreateUnitLocal (VBS2)
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
-
If the object that is created is of the type ammo, then it will created on all clients (tested only on VBS2). --Kronzky 07:18, 5 June 2008 (CEST)
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Command Group: Object Manipulation
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters