Jump to content
  • 0

Wait timer


Worldofjimmy

Question

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.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1

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.

Link to comment
Share on other sites

×
×
  • Create New...