![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Enumerations | |
| enum | SCR_ESpawnLogicDisconnectBehaviour |
Functions | |
| enum SCR_ESpawnLogicDisconnectBehaviour | BaseContainerProps (category:"Respawn") |
Variables | |
| NOTHING | |
| SAVE | |
| DELETE | |
Definition at line 1 of file SCR_SpawnLogic.c.
| 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.
| playerId | Player |
Definition at line 1 of file SCR_SpawnLogic.c.
| @ DELETE |
Definition at line 20 of file SCR_SpawnLogic.c.
| NOTHING |
Definition at line 18 of file SCR_SpawnLogic.c.
| SAVE |
Definition at line 19 of file SCR_SpawnLogic.c.