Hi,
it's possible to turn off the "Free Cam" when you die?
this command isn't working... RscSpectator_allowFreeCam = false;
greets
edit 15.02.2017
Solution
normaly it should work over the onPlayerKilled.sqf but it doesnt at moment... it ends into a full blurred screen always.
arma wiki link
That why I execute my spectator via the eventhandler. how it works:
1. put this line in the init field of every playable unit
this addEventHandler ["killed", { _this spawn { sleep 7; BIS_DeathBlur ppEffectAdjust [0.0]; BIS_DeathBlur ppEffectCommit 0.0; ["Initialize", [soldier1, [west], false, false, true, true, true, true, true, true]] call BIS_fnc_EGSpectator; }}]
soldier1 = name of the unit (dont use "player", it could cause bugs)
2. in your description.ext write
respawn = "BIRD";
respawnDelay = 10;
3. in editor Multiplayer settings you need
DONE
The trick is, coz of the respawn with bird, the blurred screen will disappear when the player died. sometimes is still can happend...
little trick, when you got blurry screen, move into your video settings and hide it
when you got ideas to improve this let me know!
greets
it's possible to turn off the "Free Cam" when you die?
this command isn't working... RscSpectator_allowFreeCam = false;
greets
edit 15.02.2017
Solution
normaly it should work over the onPlayerKilled.sqf but it doesnt at moment... it ends into a full blurred screen always.
arma wiki link
That why I execute my spectator via the eventhandler. how it works:
1. put this line in the init field of every playable unit
this addEventHandler ["killed", { _this spawn { sleep 7; BIS_DeathBlur ppEffectAdjust [0.0]; BIS_DeathBlur ppEffectCommit 0.0; ["Initialize", [soldier1, [west], false, false, true, true, true, true, true, true]] call BIS_fnc_EGSpectator; }}]
soldier1 = name of the unit (dont use "player", it could cause bugs)
2. in your description.ext write
respawn = "BIRD";
respawnDelay = 10;
3. in editor Multiplayer settings you need
DONE
The trick is, coz of the respawn with bird, the blurred screen will disappear when the player died. sometimes is still can happend...
little trick, when you got blurry screen, move into your video settings and hide it
when you got ideas to improve this let me know!
greets