Jump to content
Sign in to follow this  
WulfyWulf

Determine if non-forced interface unit is in Zeus interface

Recommended Posts

I'm working on a mission where I want certain objects hidden from a Zeus synced player when he is in the Zeus interface, but visible when he exits the interface and is moving as a normal unit. Is there a way to determine if a unit synced with the Zeus module- and is not in forced interface mode- has the interface open? I was looking in the curator functions, but I didn't see anything that looked like what I was looking for.

Side question, is there a way to disable the Zeus remote control as an allowable module for Zeus to use?

Share this post


Link to post
Share on other sites

Thanks, that second link in particular looks like it'll help. If I get what I described working, I'll report back with some sample code for my implementation.

Share this post


Link to post
Share on other sites
AFAIK openCuratorInterface function is disabled in MP for security reasons.

I remember seeing that thread...I think...but it's funny cause the third example on the command's wiki doesn't even use it.

Share this post


Link to post
Share on other sites

It's a slightly old thread, but I found a solution and wanted to document it.

_display = findDisplay 312;

returns a display if the curator interface is open. It return null if not.

You can use

if ( !isNull(findDisplay 312) ) then { ... interface is open ... };

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  

×