Tukaram
Member
Is there a way to make an NPC set a timer to keep a player from talking to him for like 30 minutes?
I am working on a Halloween NPC (not really a quest). There is an NPC that you speak a key phrase to and he gives you an item (trick or treat). I found a sample in another quest. It works, but you can stand there and spam the NPC all day and get unlimited items. I have tried working with the BaseEscortable timer, and the WitchApprentice timer, but to no avail.
The NPC spawns in random body mods (like a Halloween costume). The idea is to place a few around, and let people find them to trick or treat.
I messed with the spawner but could just make him short lived, if you wait for him you can still get more - and an extended time between spawns would be unfair to others trying to do it. I really do not want to add an OnDrop command.
Is there a way to make an NPC set a timer to keep a player from talking to him for like 30 minutes?
I am including the script, but it will not compile for you as many of the gift items are not included. I am still making items for them to give out.
I am working on a Halloween NPC (not really a quest). There is an NPC that you speak a key phrase to and he gives you an item (trick or treat). I found a sample in another quest. It works, but you can stand there and spam the NPC all day and get unlimited items. I have tried working with the BaseEscortable timer, and the WitchApprentice timer, but to no avail.
The NPC spawns in random body mods (like a Halloween costume). The idea is to place a few around, and let people find them to trick or treat.
I messed with the spawner but could just make him short lived, if you wait for him you can still get more - and an extended time between spawns would be unfair to others trying to do it. I really do not want to add an OnDrop command.
Is there a way to make an NPC set a timer to keep a player from talking to him for like 30 minutes?
I am including the script, but it will not compile for you as many of the gift items are not included. I am still making items for them to give out.