Temp Rect

zaqer50

TH.net Regular
Reaction score
3
Is a way to make say a temperary rect at a unit to see if your hero is in it when you select that unit? Sorry if this is a little unclear...
 
G

guitarplay

Guest
or just use unit is in region

(whatever unit) is within (how far) of (whatever unit)
 

zaqer50

TH.net Regular
Reaction score
3
Basicly, Im using this for a quest type thing.

Unit A is the quest giver,

Unit B is you.

So when Unit B walks in a 500 radius of Unit A and you select Unit A, it displays a message.

I hope that clears it up a little.
 
A

adjl

Guest
isn't there a unit within range condition? if so, why not use that?

never mind, there isn't that I can find.
if you're looking for peeps in a circle, I'd judge by distance between the 2 units, if in a rectangle, I'd do the conversion point and size to rect
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top