Jump to content

A multiple quest trigger


antstubell

Recommended Posts

Seeing as initiating quests through dialouge is screwed at the moment, I've taken to useing OnRead and Trigger boxes to begin them. This works perfectly but the trigger boxes are becoming excessive. For example, player enters cell, its a market with 12-15 NPCs each with a line of dialouge that needs to be Started. So using the small script below I set up trigger boxes where the player has to walk to start the quests. This is ugly to look at and is becoming more difficult to place the boxes at the cell entrance before player bumps into an NPC. Anybody know of or can write a script that starts multiple quests? The script I use now can only have 1 quest property, hence multiple trigger boxes. Thanks.

 

Quest Property myQuest auto

Bool doOnce = false

 

Event OnTriggerEnter(ObjectReference akActionRef)

If (akActionRef == Game.GetPlayer()) && (doOnce == false)

myQuest.Start()

doOnce = true

EndIf

EndEvent

Link to comment
Share on other sites

  • Recently Browsing   0 members

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