forceRespawn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(description)
m (template:command argument fix)
Line 16: Line 16:
| '''forceRespawn''' unit |= Syntax
| '''forceRespawn''' unit |= Syntax


|p1= unit: [[Object]]  |= PARAMETER1
|p1= unit: [[Object]]  |PARAMETER1=  


| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  




|x1= <code>[[forceRespawn]] [[player]];
|x1= <code>[[forceRespawn]] [[player]];
</code>|= EXAMPLE1
</code>|EXAMPLE1=  
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[playerRespawnTime]], [[setPlayerRespawnTime]]|= SEEALSO
| [[playerRespawnTime]], [[setPlayerRespawnTime]]|SEEALSO=  


| |= MPBEHAVIOUR
| |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:31, 7 April 2019

Hover & click on the images for description

Description

Description:
Forces unit to respawn. The effect as if the player pressed RESPAWN button in the game pause menu, the unit is killed only there is no "so and so was killed" message and no score adjustment.
Groups:
Uncategorised

Syntax

Syntax:
forceRespawn unit
Parameters:
unit: Object
Return Value:
Nothing

Examples

Example 1:
forceRespawn player;

Additional Information

See also:
playerRespawnTimesetPlayerRespawnTime

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