Page 1 of 1

You START with an everburning torch? And it's unique?

Posted: Wed Dec 12, 2012 8:44 am
by vorebane
Apparently you do and it is! This poses a problem for me because I was hoping to use an everburning torch as a puzzle element. My attempts to fix this have so far ended in crashes and requests to send error logs to Almost Human, which I've done. The bad news is that apparently one should not spawn an object directly into a characters hand, it becomes a crash bomb. I am bugging the forums in hopes that I've missed someone figuring this out already in my search. Otherwise, I will probably figure out another way to do this.

Re: You START with an everburning torch? And it's unique?

Posted: Wed Dec 12, 2012 8:52 am
by msyblade
You can place an everburning torch with the editor without issue. And you do not start with it once you export your dungeon and play it :)

Re: You START with an everburning torch? And it's unique?

Posted: Wed Dec 12, 2012 9:20 am
by antti
Yeah, the everburning torch is there only to make the level designer's life easier. The torch won't show up once the level is exported for others to play.

Re: You START with an everburning torch? And it's unique?

Posted: Wed Dec 12, 2012 9:27 am
by Xanathar
The bad news is that apparently one should not spawn an object directly into a characters hand, it becomes a crash bomb.
I did this several times and never had any problems.. actually my room in one room round robin is quite full of these so I'm pretty sure it works as I and several others who did their rooms after me tested it extensively:

Code: Select all

party:getChampion(2):insertItem(7, spawn("torch_everburning"))

Re: You START with an everburning torch? And it's unique?

Posted: Wed Dec 12, 2012 9:55 am
by vorebane
Ah, ok this was just me misusing the spawn function, then. I had felt obliged to fill in all the various level and coordinates. Thank you for bringing me down to earth here :)

Re: You START with an everburning torch? And it's unique?

Posted: Wed Dec 12, 2012 2:35 pm
by Komag
Yeah, if it's going to go in an alcove or in a monster or in a champion's inventory, etc, then it should never have level, x, y, etc. If you want to give it a certain id, you can spawn with something like "rock",nil,nil,nil,nil,"specialRock"