Page 1 of 1

...........

Posted: Sat Nov 01, 2014 7:10 pm
by NutJob
............

Re: [Script - WIP] Destroy Object

Posted: Sat Nov 01, 2014 7:39 pm
by Jgwman
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

Posted: Sat Nov 01, 2014 7:50 pm
by NutJob
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.
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.

Re: [Script - WIP] Destroy Object

Posted: Sat Nov 01, 2014 8:20 pm
by Doridion
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.