How to check if a tile already exists in that spot?
Posted: Tue Dec 25, 2012 4:55 am
I'm making a tile editor, so far so good but I wanted to make a drawing function and I want to be able to check and see if a tile already exists or not in a certain location. How would I be able to do this?
I get a READ error?
I get a READ error?
- Code: Select all
if(tX[x]==0) {
CreateActor("clone", "TILES", "(none)", "(none)", x, y, true);
tX[x]=1;
}