Jump to content
Sign in to follow this  
Baconeo

Hiding units from zeus

Recommended Posts

Hi all, basically in our missions we have two zeus operators making the missions on the fly however they can see everything and everyone so as is human nature they use this to their advantage slightly. What I am wondering is if there is a way to hide these units from the zeus's and so they can only see them when they actually see them other than having a massive marker over their head giving their position away.

Cheers!

Share this post


Link to post
Share on other sites

Visibility is linked to editability, so you'd need to addCuratorEditableObject (with 'false') those units. However then the Zeus can't give them orders anymore.

Share this post


Link to post
Share on other sites

Visibility is linked to editability, so you'd need to addCuratorEditableObject (with 'false') those units. However then the Zeus can't give them orders anymore.

Doing what was said above will not remove objects from Zeus. The second parameter in addCuratorEditableObject sets whether or not the crewmen of an object added will also be added to the editable objects. Use removeCuratorEditableObjects instead.

 

Play around with worldToScreen to check if a unit is visible.

Share this post


Link to post
Share on other sites

Doing what was said above will not remove objects from Zeus. The second parameter in addCuratorEditableObject sets whether or not the crewmen of an object added will also be added to the editable objects. Use removeCuratorEditableObjects instead.

Oops, you're 100% right. Sorry for the wrong info and thanks for fixing it! :)

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  

×