ACE3/addons/spectator/functions/fnc_handleRespawn.sqf
SilentSpike 52460182c9 Enable spectator on death system
New spectator on death system should enter spectator mode upon dying and exit upon respawning. Only virtual spectator state is suitable for this system since the body should remain as is.
2015-08-02 16:42:24 +01:00

19 lines
298 B
Plaintext

/*
* Author: SilentSpike
* Un-set as spectator on respawn
* Part of the spectator during death system
*
* Arguments:
* 0: New unit <OBJECT>
* 1: Old unit <OBJECT>
*
* Return Value:
* None <NIL>
*
* Public: No
*/
#include "script_component.hpp"
[_unit,false] call FUNC(setSpectator);