...........
Re: [Script - WIP] Destroy Object
It seems easier to just store your objects in an array when you create them, and destroy them when you need to, but maybe I don't understand your use for this.
Re: [Script - WIP] Destroy Object
I do as I "setup" rooms (especially if there's a puzzle, traps, scripted events) then, yes, they just go into a table for easy access, but this is for long distance calls (per-say ~laughs~) or as required (such as several puzzles linked as one larger puzzle), or there's just need to kill something specific without manually hardcoding it all in.Jgwman wrote:It seems easier to just store your objects in an array when you create them, and destroy them when you need to, but maybe I don't understand your use for this.
Re: [Script - WIP] Destroy Object
Another use, is if modder wants spawn an entire puzzle.
Example : Entering in a room, nothing, doing keeping stuff in an alcove and BAM, door closed, puzzle spawning with a timer.
Example : Entering in a room, nothing, doing keeping stuff in an alcove and BAM, door closed, puzzle spawning with a timer.