respawnVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (moved command to template)
Line 3: Line 3:
[[Category:Scripting Commands ArmA|RESPAWNVEHICLE]]
[[Category:Scripting Commands ArmA|RESPAWNVEHICLE]]


{{Command|= Comments
____________________________________________________________________________________________


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


|2.52|= Game version
____________________________________________________________________________________________


'''Operand types:'''
| Set vehicle as respawnable in MP games.


'''vehicle:''' [[Object]]
Delay is respawn delay, default respawnDelay from description.ext is used.


'''[delay = -1, count = 0]:''' [[Array]]
Count tells how many respawns is processed (default unlimited). |= Description
____________________________________________________________________________________________


'''Type of returned value:'''
| vehicle '''respawnVehicle''' [delay = -1, count = 0] |= Syntax


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


'''Compatibility:'''
|p2= [delay = -1, count = 0]: [[Array]] |= Parameter 2


Version 2.52 required.
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>car respawnVehicle [5.0, 3]</pre> |= Example 1
____________________________________________________________________________________________


'''Description:'''
|  |= See also


Set vehicle as respawnable in MP games.
}}


Delay is respawn delay, default respawnDelay from description.ext is used.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Count tells how many respawns is processed (default unlimited).
<!-- Note Section END -->
</dl>


 
<h3 style="display:none">Bottom Section</h3>
'''Example:'''
 
car '''respawnVehicle''' [5.0, 3]

Revision as of 02:32, 3 August 2006


-wrong parameter ("Arma") defined!-2.52
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:
Nothing
Parameters:
vehicle: Object
[delay = -1, count = 0]: Array
Return Value:
Return value needed

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

Bottom Section