ArmaSweden / arma-sweden-extras

Custom content for Arma 3 created for Arma Sweden.
https://steamcommunity.com/sharedfiles/filedetails/?id=887282071
Other
0 stars 0 forks source link

Player can spectate other players by clicking on them when unconscious #5

Closed Avokadomos closed 2 years ago

Avokadomos commented 2 years ago

Clicking on other players in spectator mode changes view to them. Clicking should be disabled, or spectator should be reconfigured to prevent this.

Avokadomos commented 2 years ago

Making whitelisted sides empty results in player being able to spectate everyone. There is no parameter to remove all sides. This requires forcing the whitelisted variable to something other than faction sides.

missionNamespace setVariable ["BIS_EGSpectator_whitelistedSides", [objNull]]

This will result in spectator being unable to click other units in 3D space.

Avokadomos commented 2 years ago

Fixed in a640c18cc4cdb8c593100174f52d13c4f7e3a7ea.