TileXValue >= 0 ? (TileXValue - TileXValue%64) : (TileXValue - TileXValue%64) -64
TileYValue >= 0 ? (TileYValue - TileYValue%64) +64 : (TileYValue - TileYValue%64)
This is what I was talking about. I believe it rounds up by 64s. Can someone explain this?
I would like to know what the "%" symbol does. I assume it has to do with percent, but in programming symbols don't always mean what they mean to normal everyday people.
To me it looks like a If-Then-Else, but each one is in a "Value" field for a "Set Value".
I didn't know this could be done.
What the above formulas are seemingly doing is rounding up to the nearest 64, and they have a built in offset.
Would "ceil(x/64)*64" be similar (except for the offset)?
Why would somebody complicate a formula like this, or am I misunderstanding the longer formula?