FullHeartContainer Posted July 13, 2012 Share Posted July 13, 2012 I want a quest line I am making to begin when the player enters riverwood. I am new to scripting but dont think it would be that hard. Would it be something like If IsLocationLoaded==Riverwood GetStage 10(1WDquest) stage 10 is my first stage and 1WDquest is the ID for my questline, also even once I have the script do i just add it to the quest scripts or how do i get it to work in game? I have no idea what Im doing Link to comment Share on other sites More sharing options...
mojodajojo Posted July 13, 2012 Share Posted July 13, 2012 http://www.creationkit.com/Category:Scripting http://www.creationkit.com/IsLoaded_-_Location http://www.creationkit.com/Category:Papyrus_Tutorials Link to comment Share on other sites More sharing options...
FullHeartContainer Posted July 13, 2012 Author Share Posted July 13, 2012 alright Ive been trying for a few hours. Im getting a missing EOF at if error while compiling Scriptname beginwhitedeath extends Quest if IsInLocation(Location Riverwood)==true WDquest.SetStage(10)end Someone help? Link to comment Share on other sites More sharing options...
gasti89 Posted July 13, 2012 Share Posted July 13, 2012 I would instead set the player as an alias in your quest, then attach this script on the alias. Location property StartLoc auto int proerty StageToSet auto int property preReqStage auto Event onLocationChange(Location akOldLoc, Location akNewLoc) if GetOwningQuest().GetStage() == preReqStage if akNewLoc == StartLoc GetOwningQuest().SetStage(StageToSet) endif endif endEvent Fill the properties with what you need. I can't test it so i'm not sure about Link to comment Share on other sites More sharing options...
steve40 Posted July 17, 2012 Share Posted July 17, 2012 ^^^ property is misspelt in line 3 of the script. Link to comment Share on other sites More sharing options...
Recommended Posts