mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
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.
19 lines
298 B
Plaintext
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);
|