Hi there, I'm having a problem with a conditional branch. It might be trivial, but I can't figure it out.
The problem is that I'm trying to trigger an event when an object is moved to a precise square on the map. It technically works, but the event triggers also when the object is moved to other certain squares.
The desired coordinates are 44x45 but the event does not work if I set those coordinates and works if I set 45x45 as coordinates.
In particular, by setting the coordinates as 45x45 the event triggers when the objects coordinates are 44x45, 46x45 and 46x46.
More generally, if I set "nxm" as coordinates where n and m are natural numbers, those coordinates do not correspond in game to those I set.
I would like to understand why the coordinates I set do not correspond to the coordinates that work in game.
I hope I was clear. Thank you.
The problem is that I'm trying to trigger an event when an object is moved to a precise square on the map. It technically works, but the event triggers also when the object is moved to other certain squares.
The desired coordinates are 44x45 but the event does not work if I set those coordinates and works if I set 45x45 as coordinates.
More generally, if I set "nxm" as coordinates where n and m are natural numbers, those coordinates do not correspond in game to those I set.
I would like to understand why the coordinates I set do not correspond to the coordinates that work in game.
I hope I was clear. Thank you.