LegoManIAm94 Posted November 19, 2018 Share Posted November 19, 2018 Is there a way to get a property from the quest script in a topic script? For example in my quest myQuest I have a script on that quest called myQuestScript. myQuestScript has a property called Gold001. I want to have access to this property in a topic script which is inside myQuest. Thanks In Advanced myQuestScript & Topic Fragment Script Scriptname myQuestScript extends Quest GlobalVariable Property Gold001 Auto ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment ;NEXT FRAGMENT INDEX 1 Scriptname TIF__00000000 Extends TopicInfo Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE Game.GetPlayer().AddItem(Gold001, 100) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment Link to comment Share on other sites More sharing options...
Evangela Posted November 20, 2018 Share Posted November 20, 2018 (edited) (GetOwningQuest() as myQuestScript).propertyhere Edited November 20, 2018 by Rasikko Link to comment Share on other sites More sharing options...
Recommended Posts