respawnVehicle

From Bohemia Interactive Community
Revision as of 19:32, 28 May 2007 by Str (talk | contribs) (Fixed syntax)
Jump to navigation Jump to search


-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

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]

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_querilla
respawn_vehicle_civilian

Also, by default it will 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)


Bottom Section