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:
SilentSpike 2015-10-04 16:19:47 +01:00
parent f0f822b4bc
commit 52d703c2eb

View File

@ -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 {