Okay, here is where I am. It appears that after copying and pasting the function I can't manually type in a findobjects command and have it work. The only way it works is if I copy and past the function and tag a findobjects command at the end, which is fine. It does give me a list of all the objects that contain the keyword.Isaac wrote:Console is finicky to get it to work on one line. You have to ensure (when you copy & paste) that every command has a space behind it.wagtunes wrote:Well, I gave it a shot. Every findobjects command that I type comes up nil. So obviously that's not working. And yes, I am on LoG1.
The script as posted initially runs itself with the parameter 'key'; looking for any keys on the current level. It won't find any if there aren't any to find; but the function gets put in place. What happens if you (then) type findObjects('rock'), or findObjects('torch') ?
When I type it, it lists the torches on the test level.
Now, here is my problem.
I am standing in front of this one door that is essentially keeping me from continuing. When I paste in the function using the keyword "door" I get a list of doors that is literally 15 to 20 lines long. I have no idea which door it is that I want to open. I guess I could figure it out by the coordinates. However, when replacing the keyword "door" with "key" nothing comes out. There are no keys left on this level. So, the key I need must be on another level. I suspect it's where the map has a bug in it (square not programmed in properly) but if that's true, it's doubtful the key is going to show up in the search anyway as I've been through that whole level and there is nothing left to find.
I'll work my way back to it and try the search there but I'm not optimistic. I fear that the key I need may be in the Serpent Tower levels which are now sealed off and there is no way to return to them. At least none that I can find. if that's the case, then I am technically stuck and have to start over. I do know the mod creator said there was at least one area where you could technically lock yourself out of proceeding further.
I will report back after I've tried a couple more things. In the meantime, if there's anything else you can think of for me to try, let me know. It will be greatly appreciated.