createVehicleLocal: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) m (example, locality) |
m (note formating) |
||
Line 30: | Line 30: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
If the object that is created is of the type ammo, then it will created on '''all''' clients (''tested only on VBS2''). | <dd class="notedate">Posted on 07:18, 5 June 2008 (CEST)</dd> | ||
<dt class="note">[[User:Kronzky|Kronzky]]</dt><dd class="note"> | |||
If the object that is created is of the type ammo, then it will created on '''all''' clients (''tested only on VBS2''). | |||
Indeed the type of Ammo is transfered to '''ALL''' clients, but apparently also the muzzle effects (firing sound, light, etc.); this includes muzzles from Horns (Truck or Car Horn, Bicycle bells, etc.) as well as any other weapon. Tested on Arma 1 - Arma 2 OA (latest patch). | <dd class="notedate">Posted on 18:04, 5 September 2013 (CEST)</dd> | ||
<dt class="note">[[User:DamonDaemon|DamonDaemon]]</dt><dd class="note"> | |||
Indeed the type of Ammo is transfered to '''ALL''' clients, but apparently also the muzzle effects (firing sound, light, etc.); this includes muzzles from Horns (Truck or Car Horn, Bicycle bells, etc.) as well as any other weapon. Tested on Arma 1 - Arma 2 OA (latest patch). | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 08:09, 25 June 2014
Description
- Description:
- Creates an object of the given type. Created object 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:
_lightsource = "#lightpoint" createVehicleLocal _pos;
Additional Information
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
- Posted on 07:18, 5 June 2008 (CEST)
- Kronzky
- If the object that is created is of the type ammo, then it will created on all clients (tested only on VBS2).
- Posted on 18:04, 5 September 2013 (CEST)
- DamonDaemon
- Indeed the type of Ammo is transfered to ALL clients, but apparently also the muzzle effects (firing sound, light, etc.); this includes muzzles from Horns (Truck or Car Horn, Bicycle bells, etc.) as well as any other weapon. Tested on Arma 1 - Arma 2 OA (latest patch).
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Command Group: Object Manipulation
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters