Jump to content
beako

How to show current active display?

Recommended Posts

HI All,

 

I'm having problems trying to create a script that returns the value for the current active display.

 

I want to know if the player is looking at the map or the main screen.

 

allDisplays returns a list of all opened GUI displays, including both the map (findDisplay 12) and the main display (findDisplay 46).

 

BUT I want to know if the map (findDisplay 12)  is currently being shown and the main display (findDisplay 46) display is hidden underneath and vice-versa.

 

Thansk in advance...

 

RESOLVED:

 

visibleMap

  • Like 1

Share this post


Link to post
Share on other sites

There is also the Map EH, but maybe visibleMap better suits your needs.

  • 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

×