Scripting help
I was just wondering if anyone has thought of an easier way to do this.or if some things I'm thinking of are possible I'm going to have the darkness and lantern/torch thing that's been done before, only I'm going to have it so when you use a torch, or equip the lantern, the black sprite goes to the frame with gaps in it So, are any of these possible?
To create a sprite and give it an editor number?
To check all sprites on the screen for any of a certain seq (eaily!)
I had more.but anyway, I'm thinking that using a torch could spawn a script that sets a global and after a certain time sets it back, then the darkness sprites could be constantly checking for the global or for the lantern to be equipped or maybe just in inv, haven't decided which yet. This would workpretty good I guess but still, can anyone think of a better way to do it?
To create a sprite and give it an editor number?
To check all sprites on the screen for any of a certain seq (eaily!)
I had more.but anyway, I'm thinking that using a torch could spawn a script that sets a global and after a certain time sets it back, then the darkness sprites could be constantly checking for the global or for the lantern to be equipped or maybe just in inv, haven't decided which yet. This would workpretty good I guess but still, can anyone think of a better way to do it?