Page 1 of 1

Resolved Thread on How to Spawn Items!

Posted: Sat Oct 18, 2014 10:22 am
by AxizPesse
I'm 18 hours in LoG2 and I explored but failed to complete the sarcophagus puzzle at the pyramid.
I later discovered the solution to the puzzle to open the door but guess what I did?

I went ahead and tossed the Wand of fear somewhere. I don't know where. I assumed it was a bad
item because my items were superior to it and the moonblade. Now that this has happened, I can't recover it.

As a last attempt to get the item, I've activated console in the main campaign. When I try using the command
spawn (wandoffear) I get an error as follows: bad arguement #1 to 'spawn' (string expected, got nil)
I dont recall having this problem in the original game and I would really appreciate it if someone pointed me in the right direction.
I am familiar with java but alien to lua.

All I want is a way to get a copy of the wand of fear by any means necessary at this point. Please help! :cry:

Re: Help! I've lost an important item!

Posted: Sat Oct 18, 2014 11:13 am
by AsgarZigel
It ecpects a string, so try spawn("wandoffear") or spawn("wand_of_fear"), depending on what the internal item name is.

Re: Help! I've lost an important item!

Posted: Sat Oct 18, 2014 9:09 pm
by AxizPesse
AsgarZigel wrote:It ecpects a string, so try spawn("wandoffear") or spawn("wand_of_fear"), depending on what the internal item name is.
How do I obtain the internal item name id?

Re: Help! I've lost an important item!

Posted: Sat Oct 18, 2014 9:22 pm
by N'Zembwa
It's the exact name of the item.

Re: Help! I've lost an important item!

Posted: Sun Oct 19, 2014 3:01 am
by AxizPesse
N'Zembwa wrote:It's the exact name of the item.
Unfortunately the game doesn't like the term spawn ("wand_of_fear") or spawn ("wandoffear")

Re: Help! I've lost an important item!

Posted: Sun Oct 19, 2014 6:38 am
by AxizPesse
Well, I could I open the door that's locked? How do I do that?

Re: Help! I've lost an important item!

Posted: Sun Oct 19, 2014 7:41 am
by Sir Tawmis
Try:

spawn("wand_fear")

To find out item names, just go into the Dungeon Editor.

Re: Help! I've lost an important item!

Posted: Sun Oct 19, 2014 9:21 am
by AxizPesse
Sir Tawmis wrote:Try:

spawn("wand_fear")

To find out item names, just go into the Dungeon Editor.
Thanks for the tip, didnt realize they went by their dungeon editor names.
Thanks to all of you who helped! :D

Re: Help! I've lost an important item!

Posted: Sun Oct 19, 2014 9:26 am
by Sir Tawmis
AxizPesse wrote:
Sir Tawmis wrote:Try:
spawn("wand_fear")
To find out item names, just go into the Dungeon Editor.
Thanks for the tip, didnt realize they went by their dungeon editor names.
Thanks to all of you who helped! :D
Always glad to help where I can!