Jump to content
Sign in to follow this  
sprucewaine

Need help with limiting zues

Recommended Posts

class Extended_Init_EventHandlers {
 class Man {
  init = "_this call (compile preprocessFileLineNumbers 'classes\antiCheat.sqf')";
 };
};

^^ this is what my description ext looks like

 

private "_this";
_this = _this select 0;

if (side _this == east) then {
(allCurators select 0) removeCuratorEditableObjects [[_this],true];
};

 

This is what my Anti cheat looks like, to keep zues from being able to edit the opposing forces :P.

 

 

If you replace the remove curator editable objects with _this setDamage 1; Then you get an island filled with dead people!  which is good because it means that everything is working except for that bit of code.

Share this post


Link to post
Share on other sites

Woops wrong section, welp. Hopefully a friendly moderator will move it. Anyway this seemed to work but its giving me generic error in expression. 

_this call {(myCurator select 0) removeCuratorEditableObjects [[this],true]};

It doesn't like how i used "myCurator select 0". but if i get rid of select 0 and just use myCurator, no errors but the script doesn't work!

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  

×