Jump to content

Quest Building Question


Dracula420

Recommended Posts

i just started learning to biuld quests and decided to start by making more DB contracts from a new NPC. i'm making a mission to kill 6 necromancer leaders and have gotten all dialog and quest stages uptill this point done. i'm halfway thru making and marking the 6 NPCs with quest markers and was wondering how i make the quest update once they're all dead. there are no special requirements they just need to die and the quest needs to move on. i have an idea but before i spend the next 4 hours bashing my face into the keyboard i figured i would just ask because i will be using on death updates alot. thank you and kudos to whoever will take the time to read this and answer back :thumbsup:
Link to comment
Share on other sites

Put a script on necros

 

SN NecroDeadTally

short doonce

Begin OnDeath

if ( doonce == 0 )

set YourQuestName.necroskilled to ( YourQuestName.necroskilled + 1 )

set doonce to 1

endif

End

 

 

 

Check in your game quest script:

 

short necroskilled

 

If ( necroskilled >= 6 )

SetStage YourQuestName xx

EndIf

Link to comment
Share on other sites

Can i use the same script on all of them? or do i need a unique one for each actor?

 

You should be able to use the same script on all of them.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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