createVehicleLocal: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <dd class="notedate">" to " <dt><dt> <dd class="notedate">") |
Lou Montana (talk | contribs) m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "") |
||
Line 24: | Line 24: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<dd class="notedate">Posted on 07:18, 5 June 2008 (CEST)</dd> | <dd class="notedate">Posted on 07:18, 5 June 2008 (CEST)</dd> | ||
<dt class="note">[[User:Kronzky|Kronzky]]</dt><dd class="note"> | <dt class="note">[[User:Kronzky|Kronzky]]</dt><dd class="note"> | ||
Line 32: | Line 31: | ||
<dt class="note">[[User:DamonDaemon|DamonDaemon]]</dt><dd class="note"> | <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). | 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). | ||
</dl> | </dl> | ||
Revision as of 00:32, 6 April 2021
Description
- Description:
- Description needed
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Syntax needed
- Parameters:
- type: String
- position: Position
- Return Value:
- Return value needed
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
- 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).
- Posted on November 2, 2018 - 12:16 (UTC)
- demellion
-
WARNING: Do not instigate createVehicle or createVehicleLocal within a server function executed with preInit flag.
This will cause "You cannot play/edit this mission" for a vehicles compiled from a -mod and make server skip/loop that mission init.