respawnVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Fixed syntax)
Line 18: Line 18:
____________________________________________________________________________________________
____________________________________________________________________________________________


| vehicle '''respawnVehicle''' [delay = -1, count = 0] |= Syntax
| vehicle '''respawnVehicle''' [delay <nowiki>=</nowiki> -1, count <nowiki>=</nowiki> 0] |= Syntax


|p1= vehicle: [[Object]] |= Parameter 1
|p1= vehicle: [[Object]] |= Parameter 1

Revision as of 18:32, 28 May 2007


-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