Jump to content
sprucewaine

Only able to edit around players?

Recommended Posts

Is there a way to make it so that zues can only spawn objects around a certain unit? Like a truck or other movable HQ? 

I am making an rts type game.

Share this post


Link to post
Share on other sites

yes there is "add editing area" module under zeus modules that sets the editable area.

 

Share this post


Link to post
Share on other sites
On 12/20/2017 at 12:00 PM, gc8 said:

yes there is "add editing area" module under zeus modules that sets the editable area.

 

I guess i wasn't clear enough, Well anyway i figured it out. 

 

myCurator addEventHandler [
    "CuratorObjectRegistered",
    {
	myCurator removeCuratorEditingArea 0;
	myCurator addCuratorEditingArea [0,position player,100];
    }
];

This baby right here will basically redefine your editing area when ever you open the interface up. It might need some tweaking to become MP compatible, especially when you  have multiple zeuses.

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

×