It works like a charm, but about 5 seconds after the secret door reveals that it is gone, the program crashes and I'm returned to the editor with this error: "attempt to index global "dragonstatue" (a nil value) X"
I only get the error after I've tested the event.
The destroy script is:
Code: Select all
--
function destroydragon()
dragonstatue:destroy()
endAnyone else having either the same trouble or any solution?
