Closed Avokadomos closed 2 years ago
EGSpectator can only restrict spectating to sides by default, so some digging into the EGSpectator framework has to be done.
Spectator focus is set through the RscEGSpectator_focus variable in uiNamespace. Using uiNamespace setVariable ["RscEGSpectator_focus", _object]
is enough to change focus to _object
.
Fixed in a640c18cc4cdb8c593100174f52d13c4f7e3a7ea.
Player should only be able to spectate their own body. Spectator mode automatically jumps to another alive squad member.