Thanks a lot!
/David
Search found 4 matches
- Wed Jan 09, 2013 12:11 am
- Forum: Modding
- Topic: [help] Iterating to find items
- Replies: 2
- Views: 2241
- Thu Jan 03, 2013 9:48 pm
- Forum: Modding
- Topic: [help] Iterating to find items
- Replies: 2
- Views: 2241
[help] Iterating to find items
Hello, I've been trying to find a specific item using the developer console. So far the best I've come up with is: it = allEntities(1) n=5 for i in it do if i~=nil and i.getUIName~=nil then do if n<1 then break end n=n-1 print(i.name) end end end This apparently works on the first two levels. What I...
- Thu Jan 03, 2013 9:19 pm
- Forum: Gameplay Hints
- Topic: Any way to recreate a quest item or to locate it on the map?
- Replies: 24
- Views: 36598
Re: Any way to recreate a quest item or to locate it on the
I didn't read the whole thread about the developer console. Turns out you only need to edit the configuration file grimrock.cfg to set console=true ! I managed to get an "iterator" of all items, but am having problems iterating over it. This is getting off-topic so I'll ask in the modding ...
- Sun Dec 30, 2012 2:19 pm
- Forum: Gameplay Hints
- Topic: Any way to recreate a quest item or to locate it on the map?
- Replies: 24
- Views: 36598
Re: Any way to recreate a quest item or to locate it on the
Hi guys, I'm having the exact same problem. I lost one of the scrolls from level 4 and have looked all over the place. So I was happy when I found this thread. Unfortunately, the python script to enable the developer console doesn't work on my machine so I'm stumped. (windows vista, python 3.3, I go...