respawnVehicle: Difference between revisions
Jump to navigation
Jump to search
m (Fixed syntax) |
No edit summary |
||
Line 27: | Line 27: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre>car respawnVehicle [5.0, 3]</pre> |= Example 1 | |x1= <pre>car respawnVehicle [5.0, 3];</pre> | ||
'car' will respawn at the predefined marker for the [[side]] after 5 seconds. The unit will respawn 3 times.|= Example 1 | |||
|x2= <pre>car respawnVehicle [30];</pre> | |||
'car' will respawn at the predefined marker for the [[side]] after 30 seconds. The unit will respawn an unlimited number of times.|= Example 2 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 41: | Line 48: | ||
<pre>respawn_vehicle_west | <pre>respawn_vehicle_west | ||
respawn_vehicle_east | respawn_vehicle_east | ||
respawn_vehicle_guerilla | |||
respawn_vehicle_civilian | respawn_vehicle_civilian | ||
</pre> | </pre> | ||
Also, by default it will respawnDelay from the description.ext as mentioned unless you specify | Also, by default it will use respawnDelay from the description.ext as mentioned unless you specify | ||
<pre>respawnVehicleDelay = x</pre> | <pre>respawnVehicleDelay = x;</pre> | ||
Where x is delay in seconds. | Where x is delay in seconds. | ||
[[User:Sy|Sy]] 16:38, 28 May 2007 (CEST) | [[User:Sy|Sy]] 16:38, 28 May 2007 (CEST) | ||
Line 52: | Line 59: | ||
---- | ---- | ||
In Multiplayer the respawned vehicle remains local to the client who was the last driver of the vehicle or the client who was the leader of the last AI driver of the vehicle. | |||
If the vehicle has yet to be driven or the AI driver is local to the Server then the respawned vehicle will be local to the Server.--[[User:Sy|Sy]] 16:49, 10 June 2007 (CEST) | |||
---- | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> |
Revision as of 15:49, 10 June 2007
Description
- Description:
- Set vehicle as respawnable in MP games. Delay is respawn delay, default respawnDelay from Description.ext is used. Count tells how many respawns is processed (default unlimited).
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicle respawnVehicle [delay = -1, count = 0]
- Parameters:
- vehicle: Object
- [delay = -1, count = 0]: Array
- Return Value:
- Nothing
Examples
- Example 1:
car respawnVehicle [5.0, 3];
'car' will respawn at the predefined marker for the side after 5 seconds. The unit will respawn 3 times.- Example 2:
car respawnVehicle [30];
'car' will respawn at the predefined marker for the side after 30 seconds. The unit will respawn an unlimited number of times.
Additional Information
- See also:
- See also needed
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
-
For this command to work (in both SP & MP) you need the appropriate markers in the mission.
The markers are...
respawn_vehicle_west respawn_vehicle_east respawn_vehicle_guerilla respawn_vehicle_civilian
Also, by default it will use respawnDelay from the description.ext as mentioned unless you specify
respawnVehicleDelay = x;
Where x is delay in seconds. Sy 16:38, 28 May 2007 (CEST)
In Multiplayer the respawned vehicle remains local to the client who was the last driver of the vehicle or the client who was the leader of the last AI driver of the vehicle. If the vehicle has yet to be driven or the AI driver is local to the Server then the respawned vehicle will be local to the Server.--Sy 16:49, 10 June 2007 (CEST)