Sir_Skurpsalot Posted March 23, 2020 Posted March 23, 2020 I noticed that If you exit a level while a trigger is applied, such as the crouch or prone trigger, and then reload it, the trigger is still applied. What would be the most appropriate place to begin in the scripts to release all triggers upon exiting a mission? Quote
fLUnKnhaXYU Posted March 23, 2020 Posted March 23, 2020 Brings up an interesting idea . Perhaps set the trigger at the level start where you could set the player already in crouch or prone . If during the exit then Id guess some time after "exit yes / no dialog" would be OK . Quote
Sir_Skurpsalot Posted March 23, 2020 Author Posted March 23, 2020 I wound up calling a function from disconnectedCleanup() in scripts/client/serverConnection.cs that does the trick. Quote
Duion Posted March 24, 2020 Posted March 24, 2020 I would reset everything on joining a session, but it depends on taste probably. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.