Jump to content
Sign in to follow this  
wyattwic

Detecting player exiting Arsenal

Recommended Posts

Would anyone know how to detect a player exiting Arsenal?

I would like to be able to know exactly when a person exits the window so that I can save their loadout, and have it re-applied on respawn.

Share this post


Link to post
Share on other sites

Good question!

There is probably a more reliable method of detecting the arsenal specifically, however you could possibly just check to see if a dialog is open.

["Open",true] spawn BIS_fnc_arsenal;
waitUntil{!dialog};
hint "arsenal closed"

Share this post


Link to post
Share on other sites
waitUntil { isnull ( uinamespace getvariable "RSCDisplayArsenal" ) };

Edited by Iceman77
  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×