OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Multiplayer => Topic started by: laggy on 25 Feb 2009, 22:01:34
-
Has anyone tried:
OnPlayerRespawnAsSeagull.sqs
[player] exec "camera.sqs"
exit
In a mission I would prefer this over another spectating script.
Has anyone tried this or is there a reason that it shouldn't work?
Laggy
-
...is there a reason that it shouldn't work?
Assuming you don't want an error message and a camera at [0,0,0]: Yes! :D
Don't use squared brackets. It's...
player exec "camera.sqs"
Apart from that: What do you do if the dead player hits "v" (so the script ends)? And how would you end the script youself?
-
:D
What's wrong with error messages :dunno:
To end the script with V sounds OK to me :yes:
I'll try it and see how it works, concerned about the ending of the mission, when every player is dead :scratch: