Jump to content
Sign in to follow this  
danjoo

Using MenuPosition template with Tickets and Spectator

Recommended Posts

Hi. When using the menuposition and ticket respawn templates, upon reaching 0 tickets respawn is diabled which is fine. But the overlay still comes up over my specator screen. I can use the spectate controls to move around but the overlay is in the way. Anyone know function that kills the menupoisiton menu?

 

1d64b10663d15ebfdf550776a6537930.png

Share this post


Link to post
Share on other sites

maybe this code could work at the time the dialog pops up but idk if 389 is the correct display ID for that dialog and idk how to find the correct IDD if its wrong:

if (!isNull findDisplay 389) then
{
 389 closeDisplay 2;
};

Share this post


Link to post
Share on other sites

You can also try

["close"] call BIS_fnc_showRespawnMenu;

 

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  

×