Worldofjimmy Posted August 19, 2018 Posted August 19, 2018 Hello, Â Is there a way to have a switch turn from true to false after a preset time? I tried using the (Wait...) function. The result was that my npc totally ignored me during that time. I was unable to interact with it. Â I want to create a npc that can restore your health points once every hour for a small fee.
1 jcsnider Posted August 19, 2018 Posted August 19, 2018 Have that npc set a player variable to 600 after healing the player, and make sure that npc does NOT heal the player if that variable value is > 0.  Then make an autorun common event subtract 1 from that variable and then wait 1000. The common event will eventually get that variable below 0 and the npc can heal the player again. Worldofjimmy 1
0 Worldofjimmy Posted August 19, 2018 Author Posted August 19, 2018 Thank you jcsnider, that worked perfectly!
Question
Worldofjimmy
Hello,
Â
Is there a way to have a switch turn from true to false after a preset time?
I tried using the (Wait...) function. The result was that my npc totally ignored me during that time. I was unable to interact with it.
Â
I want to create a npc that can restore your health points once every hour for a small fee.
2 answers to this question
Recommended Posts