The important part there is that the quest is a Quest Property. Scriptname AJDMGMAcquireMineLetterScript extends ObjectReference Quest Property AJDMGMAquireMine Auto references the quest associated with acquiring the mineEvent OnContainerChanged(ObjectReference newContainer, ObjectReference oldContainer) There is a quest stage for the player to check the bandit's body, this checks to see if the letter is picked up if (newContainer = Game.GetPlayer()) AJDMGMAquireMine.SetObjectivedisplayed(30) AJDMGMAquireMine.SetStage(30) endifEndEventEvent OnRead() The current quest stage at this point is for the player to read the note AJDMGMAquireMine.SetObjectivedisplayed(40) AJDMGMAquireMine.SetStage(40)EndEvent
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |