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?
minor question about quests....
Débuté par
Who said that I
, oct. 03 2015 05:41
#1
Posté 03 octobre 2015 - 05:41
#2
Posté 03 octobre 2015 - 11:39
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.
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
Posté 04 octobre 2015 - 11:42
thanks lil, as usual
#4
Posté 04 octobre 2015 - 11:38
You are welcome. I forgot to mention, that the second variable would go on the trigger.





Retour en haut







