Difference between revisions of "Bethesda Tutorial Basic Quest Scripting"
Bethesda Tutorial Basic Quest Scripting (edit)
Revision as of 05:46, 27 February 2012
, 05:46, 27 February 2012→Scripting the Amulet
imported>AlexanderKenneth (→Writing the Script: Adding code that should have been there.) |
imported>AlexanderKenneth |
||
Line 105: | Line 105: | ||
Event OnContainerChanged(ObjectReference newContainer, ObjectReference oldContainer) | Event OnContainerChanged(ObjectReference newContainer, ObjectReference oldContainer) | ||
if (newContainer == Game.GetPlayer()) | if (newContainer == Game.GetPlayer()) | ||
GSQ01.SetObjectivedisplayed(30) | |||
GSQ01.SetStage(30) | GSQ01.SetStage(30) | ||
endif | endif | ||
EndEvent | EndEvent | ||
</source> | </source> | ||
Ignore it once again. It will be explained in the section about objectives. | |||
There a few things to note in this script: | There a few things to note in this script: |