by Fuzzy » Fri Aug 28, 2009 6:07 am
I am not clear on what I need to do to delete a tile? left and right mouse press doesnt delete?
First, I think that in clonedtile->mousebutton down, you should do
[code]
celltile[ccell]=100;
DestroyActor("Event Actor");
[\code]
rather that the other way around. That lets me overwrite the tile with a new one, rather than layering them. Is that what you want?
DestroyActor immediately ends the actor, so that line of code that sets the tile to 100 never gets executed.
So I made a test level, saved it, and then loaded the Treeman.lv level over top of it. It does not clear the old level, so that tells me that the problem isnt in the load function, but rather what gets done with it. I am investigating further.
Last edited by
Fuzzy on Fri Aug 28, 2009 6:44 am, edited 1 time in total.
Mortal Enemy of IF....THEN(and Inspector Gadget)
Still ThreeFingerPete to tekdino