hoizen 18 Posted November 26, 2014 Hey all, I'm designing a mission with a player commander. What I'm after is a way to cutoff zeus from the player if his HQ building is destroyed mid mission. Pseudo: if (!alive HQ) then { Disable zeus camera here? } Is there a feature of zeus that can do this? Thanks in advance, _Hoizen Share this post Link to post Share on other sites
saltatormortis 12 Posted November 27, 2014 if you synchronized the player with the zeus Module you can remove the zeus feature via synchronizeObjectsRemove [b]waitUntil [/b]{!alive HQ}; ZeusUnit [b]synchronizeObjectsRemove[/b] [ZeusModules]; Share this post Link to post Share on other sites
moricky 211 Posted November 27, 2014 Synchronyzing player with Zeus module has no effect, so desync won't do anything as well. The player with access to Zeus is defined by Owner argument. And how to disable Zeus mid-mission? First, set the Owner to some variable, e.g., "MissionCommander". To give a specific player access to Zeus: MissionCommander = bluforPlayer3; publicVariable "MissionCommander"; To take that access away again: MissionCommander = objNull; publicVariable "MissionCommander"; Share this post Link to post Share on other sites
hoizen 18 Posted November 27, 2014 Beautiful! Works great. Thanks a bunch. Share this post Link to post Share on other sites