Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_SpawnLogic.c File Reference

Go to the source code of this file.

Enumerations

enum  SCR_ESpawnLogicDisconnectBehaviour

Functions

enum SCR_ESpawnLogicDisconnectBehaviour BaseContainerProps (category:"Respawn")

Variables

 NOTHING
 SAVE
 DELETE

Enumeration Type Documentation

◆ SCR_ESpawnLogicDisconnectBehaviour

Definition at line 1 of file SCR_SpawnLogic.c.

Function Documentation

◆ BaseContainerProps()

enum SCR_ESpawnLogicDisconnectBehaviour BaseContainerProps ( category:"Respawn" )

Override with your own collection name if customized.

Called whenever provided player loses controlled entity, this can occur e.g. when a player dies or their entity is deleted.

Notify the target player that they are ready for spawn. Useful for cases of manual spawning, e.g. when user should open respawn menu and similar.

Implement the actual spawn behaviour

Resolves spawn using the SCR_ReconnectComponent for player of given playerId. If such player is eligible for spawning this way, action is taken and true is returned on success (entity handed over), false otherwise.

Parameters
playerIdPlayer
Returns
True if existing entity was re-assigned to him

Definition at line 1 of file SCR_SpawnLogic.c.

Variable Documentation

◆ DELETE

@ DELETE

Definition at line 20 of file SCR_SpawnLogic.c.

◆ NOTHING

NOTHING

Definition at line 18 of file SCR_SpawnLogic.c.

◆ SAVE

SAVE

Definition at line 19 of file SCR_SpawnLogic.c.