Jump to content
JSD

Zeus editing inside areas not working properly.

Recommended Posts

I'm trying to make a simple gamemode where an Opfor zeus defends a point and Blufor players try and capture it. For this the zeus has to be able to place units inside the zone and nowhere else. 

I added an editing area for the zeus by adding the following to initServer.sqf:
OpforZeus addCuratorEditingArea [1, (position OpforHQ_Point  ), 125];

 

this adds the area properly, but for some reason my zeus defaulted to only being able to edit outside of areas, to counter this I tried adding the "Set Editing Area Type" module in the editor, putting the correct assigned Zeus in there and setting it to "Inside Areas". This did not fix it. Next I tried adding to the initServer.sqf:
OpforZeus setCuratorEditingAreaType true;

 

But that doens't fix it either. 

 

I'll put the full initserver.sqf under here too

 

Initserver.sqf

// USE BIS GROUP SHIT
["Initialize", [true]] call BIS_fnc_dynamicGroups;

// ADD ZEUS AREA AND SET IT TO EDITING WITHIN THE AREAS
OpforZeus addCuratorEditingArea [1, (position OpforHQ_Point  ), 125];
OpforZeus setCuratorEditingAreaType true;

// GIVE 0.0002 POINTS PER PLAYER TO ZEUS EVERY SECOND
for "_i" from 0 to 1 step 0 do
{
  OpforZeus addCuratorPoints ((0.0002 * ({isPlayer _x && alive _x} count playableUnits) ) -0.0002);
  sleep 1;
};
 

 

I'm kinda lost and have no idea what I could try to fix this, thanks in advance for anyone able to help me. 

Share this post


Link to post
Share on other sites

fixed it by redoing the entire thing, still not sure what was wrong though. 

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

×