Page 1 of 1

Spawn item on Champion bug?

Posted: Tue Sep 18, 2012 6:36 am
by davehca
Experimenting with the scripting commands using the console, the following script created TWO keys, one on the floor, and one in the Champion's left hand.

party:getChampion(1):insertItem(7, spawn("brass_key"))

When I then picked up the key from the Champion using the mouse the game crashed. The resulting error log was emailed to feedback.

No change with 1.2.8

Re: Spawn item on Champion bug?

Posted: Wed Sep 19, 2012 6:54 am
by davehca
davehca wrote:Experimenting with the scripting commands using the console, the following script created TWO keys, one on the floor, and one in the Champion's left hand.

party:getChampion(1):insertItem(7, spawn("brass_key"))

When I then picked up the key from the Champion using the mouse the game crashed. The resulting error log was emailed to feedback.

No change with 1.2.8
I find now that this problem only occurs when typing the script via the console. If part of a script_entity it works just fine.