draco1122 Posted September 18, 2014 Share Posted September 18, 2014 I am trying to make a script that when the player activates a actor it starts a quest I have this so far but it wouldnt comipile Scriptname aaadQuestStartuponAct extends Actor OnActivate Actor Property aaadKeyGiver AutoInt Property MyStage AutoQuest Property MyQuest Auto Event OnActivate() MyQuest.SetStage(MyStage) EndEvent Yes i am a noob lol Link to comment Share on other sites More sharing options...
IsharaMeradin Posted September 18, 2014 Share Posted September 18, 2014 Based solely on the information provided, try this... Scriptname aaadQuestStartuponAct extends Actor Int Property MyStage Auto Quest Property MyQuest Auto Event OnActivate(ObjectReference akActivator) If akActivator == Game.GetPlayer() \ && MyQuest.IsRunning() \ && MyQuest.GetStage() < MyStage MyQuest.SetStage(MyStage) EndIf EndEvent Link to comment Share on other sites More sharing options...
draco1122 Posted September 18, 2014 Author Share Posted September 18, 2014 Thank you for reply. Ok, I compiled the script ok selected the properity and added it to my actor. But doesn't seem to be starting the quest in game. I think it maybe due to he has dialog options i will play around some and see if i can get it thx for your help. I will let you know. Link to comment Share on other sites More sharing options...
Terra Nova Posted September 21, 2014 Share Posted September 21, 2014 An actor isn't an activator. OnActivate wont work? Link to comment Share on other sites More sharing options...
draco1122 Posted September 21, 2014 Author Share Posted September 21, 2014 (edited) I am not sure it seems that way tho or the dialog is blocking it. Edited September 21, 2014 by draco1122 Link to comment Share on other sites More sharing options...
Recommended Posts