mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Improve spectator seagull handling
Previously they were only hidden, but this didn't account for the annoying audio they play so now they're entirely staged like a spectator unit would be.
This commit is contained in:
parent
f0f822b4bc
commit
52d703c2eb
@ -34,7 +34,7 @@ _pos = (getPosATL _unit) vectorAdd [0,0,5];
|
||||
// Enter/exit spectator based on the respawn type and whether killed/respawned
|
||||
if (alive _unit) then {
|
||||
if (_respawn == 1) then {
|
||||
[_unit,QGVAR(isSeagull)] call EFUNC(common,hideUnit);
|
||||
[_unit] call FUNC(stageSpectator);
|
||||
[2,_killer,_vision,_pos,getDir _unit] call FUNC(setCameraAttributes);
|
||||
[true] call FUNC(setSpectator);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user