Instructions/Compare Number

From Desynced Wiki


Compare Number
     
Cannot access the database: :real_connect(): (HY000/1226): User 'o11612650' has exceeded the 'max_user_connections' resource (current value: 20)



Description[edit | edit source]

This is the "Greater than, Equal or Less Than" instruction. Strictly for evaluating numbers.

Uses[edit | edit source]

Used for typical mathematical evaluation if the number in the top Value is Equal, Larger or Smaller than the number in the bottom value that it is being Compared against.

Cannot be used to compare coordinates. To check if coordinates are equal, use Distance and compare the number. For further comparision on coordinates do math.

Compare is 0 by default.

Can be read as:

  • If Value(1) is greater than Compare(0)
  • 1 is greater than 0, so it would route through the pin labelled "If Larger".

Similar Instructions[edit | edit source]

Compare Entity, Compare Item