Aller au contenu

Photo

minor question about quests....


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
Who said that I

Who said that I
  • Members
  • 492 messages

Okay, I am wondering something....if you need to make a persistent quest to kill a vilain, would it be better to have one with a spawn trigger or you can just place the npc vilain on the spot in the map?



#2
Li'l Rose

Li'l Rose
  • Members
  • 30 messages
Is this quest persistent for each PC, or is this a once per server reset quest?

If it is once per server reset, then it would be best to spawn the villain by a trigger with an on enter script. Once a PC enters the trigger, spawn the villain, and put a variable on the trigger, so that it only spawns once. You could also have the trigger spawn the villain, and then destroy itself. Placing the villain on the map works too, but you will have all of the villain's scripts running all the time, until the villain is killed.

If the quest is persistent for each PC, then have the script place the variable on an item in the PC's inventory. You can also use the campaign variables. You would then need a second variable that resets itself after a certain amount of time has passed, so that the villain would not spawn again if another PC entered the trigger.
  • Who said that I aime ceci

#3
Who said that I

Who said that I
  • Members
  • 492 messages

thanks lil, as usual ;) 



#4
Li'l Rose

Li'l Rose
  • Members
  • 30 messages
You are welcome. I forgot to mention, that the second variable would go on the trigger.