Difference between revisions of "Talk:Bethesda Tutorial Basic Quest Scripting"

imported>Cipscis
(→‎Help: There's a problem with your property)
imported>Kroama
Line 36: Line 36:


: -- [[User:Cipscis|Cipscis]] 23:01, 22 February 2012 (EST)
: -- [[User:Cipscis|Cipscis]] 23:01, 22 February 2012 (EST)
There were no errors in anything up until this point, other scripts compiled properly as well. The quest in game works as it should, minus the fact that getting the amulet does not progress the quest further. I'll post the code i have in the script.
Scriptname GSQAmuletScript extends ObjectReference 
Quest Property GSQAmu  Auto 
Event OnContainerChanged(ObjectReference newContainer, ObjectReference oldContainer)
if (newContainer == Game.GetPlayer())
GSQ01.SetStage(30)
endif
EndEvent
Anonymous user