forceRespawn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.04|Game version=
|1.04


|arg= local |Multiplayer Arguments=
|arg= local


|eff= global |Multiplayer Effects=
|eff= global


|gr1 = Multiplayer |GROUP1=
|gr1 = Multiplayer


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


| '''forceRespawn''' unit |SYNTAX=
| '''forceRespawn''' unit


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


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




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


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


| |MPBEHAVIOUR=  
| |MPBEHAVIOUR=  

Revision as of 01:36, 18 January 2021

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:
Multiplayer

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