Jump to content

Recommended Posts

hi i need help about this

i want to do something like this if player have this Variable (blah) & side is west then if other players side in west and in distance of 50 from unit whit Variable (blah) then {



Share this post

Link to post
Share on other sites


if ((_unit getVariable "blah") != _expectedValue) && {side _unit != west} exitWith{};


If (side _x isEqualTo west) then{

_array pushbackUnique _x;


}forEach nearestEntites;

If ((count _array) > 0) then{



I typed this on my phone so things will not be correct but it should give you an idea of how to do it.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.