I've made a new quest, that is a start quest. I only want it to do one thing: Add items to a container.
I've made the script, it is set up to add the item (and display a debug message to say it has run), set up the quest, all is good.
I run the game, and upon loading I get the debug message saying the item is added (so the code is running). However the item hasn't been added to the container.
If I stop the quest using the console and restart it, I get the debug message saying the item has been added and the item IS added.
So, the code is correct, it just refuses to add when the quest is automatically started by the game. Any ideas on why this might be or how I might fix it?
I'll attach the code below (for those that have messed around with this, the properties have been set up correctly through the CK):
Spoiler
Scriptname AATestFactionInventorySCRIPT extends Quest Hidden
ObjectReference Property WarmChest Auto
Armor Property ChefOutfit Auto
EVENT OnInit()
WarmChest.AddItem(ChefOutfit, 3)
Debug.MessageBox("Item Added via second method")
endEVENT
ObjectReference Property WarmChest Auto
Armor Property ChefOutfit Auto
EVENT OnInit()
WarmChest.AddItem(ChefOutfit, 3)
Debug.MessageBox("Item Added via second method")
endEVENT
