Jump to content
Ilias38rus

Creating limiting borders for map click.

Recommended Posts

You really need to add more details to your posts.

 

I'm guessing what you want is..  an example of only running code if the map click is withing 500 of a position:

if (_mapClickPos distance _centrePos < 500) then { /* run your code here */};

Share this post


Link to post
Share on other sites

 

You really need to add more details to your posts.

 

I'm guessing what you want is..  an example of only running code if the map click is withing 500 of a position:

if (_mapClickPos distance _centrePos < 500) then { /* run your code here */};

And how to make the if like 'if in marker area' or 'if in trigger area'?

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

×