Checking if object coordinates equal to certain coordinates
#5

Actually, due to the way floating point values work and how they are stored, an exact comparison usually isn't recommended. If one of the values retrieved from GetObjectPos is off by 0.0001 the code will cease to work. You should check whether the object is in the approximate area.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)