Jump to content

Can someone who can script help me?


FullHeartContainer

Recommended Posts

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...