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
Spawn item on Champion bug?
Re: Spawn item on Champion bug?
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.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