Distance between two points?

Hot

New Member
Reaction score
9
Hi i have a problem, after using the action

Trigger:
  • Set Real = (Distance between TempPoint and TempPoint2)


how can i check if the value of real is anything between two numbers?

like 0-100 or 234-431
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
Trigger:
  • Game - Display to (All players) the text: Real

Im not to sure what you mean though.
 

Ayanami

칼리
Reaction score
288
Make 2 conditions.

Trigger:
  • Conditions
    • TempReal is greater than MINVALUE
    • TempReal is less than MAXVALUE


That should work.
 

perkeyone

something clever
Reaction score
71
use if/then/else (multiple conditions)

one condition should be that the distance is over the minimum
and another condition should be that it is under the maximum
 

Rushhour

New Member
Reaction score
46
Boolean - And
+Real comparison x2

Real smaller than 432. and Real greater than 234.

A simple line of custom script:
Trigger:
  • CustomScript: if udg_Real < 432. and udg_Real >234. then
    • Custrom Script: endif
 
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