respawnVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:




<h2 style="color:#000066">''''' respawnVehicle '''''</h2>
<h2 style="color:#000066">''vehicle'' ''''' respawnVehicle '''''  ''[delay = -1, count = 0]''</h2>




'''Operand types:'''
'''Operand types:'''
vehicle: [[Object]]
[delay = -1, count = 0]: [[Array]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''
Version 2.52 required.


'''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).




'''Example:'''
'''Example:'''
car '''respawnVehicle''' [5.0, 3]

Revision as of 20:56, 28 June 2006


<new command not populated>


vehicle respawnVehicle [delay = -1, count = 0]


Operand types:

vehicle: Object

[delay = -1, count = 0]: Array

Type of returned value:

Nothing

Compatibility:

Version 2.52 required.

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).


Example:

car respawnVehicle [5.0, 3]