Equal To Range (not exact number)

Xbing

New Member
Reaction score
0
I know this might be an utter noob question but after trying for quite long i cannot find out how to get a condition to have, lets say, (Height Of (Triggering Unit)) Equal To (100 - 400) any help will be appretiated

EDIT: WAIT WAIT WAIT I FIGURED OUT HOW TO DO SO!!!! MY MATH FAILS.... =.= NEVER MIND.... just a double "and" condition and done easily... math must have rotted my mind...
 

Rushhour

New Member
Reaction score
46
I'm not sure what you found out^^ but keep in mind that "unit flying hight" only gives the hight of the unit over the current ground, if you want the real height you have to calculate
GetLocationZ(Location(udg_YourLocation))+GetUnitFlyHeight(yourunit)
that means you would need to create a location or move an already existing location.
 

Xbing

New Member
Reaction score
0
thats because the ground is useless in my map... im making a flat view (AOA 340) map with planes whizzing around. the range thing was for the weapons system.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top