Hello I am trying to creature a unique battle event in my rpg.
I want it to work as follows.
If a player stand on a specific tile on the world map they will receive a warning message.
Ever 5 seconds the player stands on the tile without moving off the message will become more severe.
If the player stands on the tile for 20 seconds a battle initiates.
If the player moves off the tile any time before the battle initiates the timer is reset.
Moving back on that tile would begin the first warning message and the entire process over again.
If the player wins the battle the event is permanently cleared
If the player dies its game over
Help is appreciated
I want it to work as follows.
If a player stand on a specific tile on the world map they will receive a warning message.
Ever 5 seconds the player stands on the tile without moving off the message will become more severe.
If the player stands on the tile for 20 seconds a battle initiates.
If the player moves off the tile any time before the battle initiates the timer is reset.
Moving back on that tile would begin the first warning message and the entire process over again.
If the player wins the battle the event is permanently cleared
If the player dies its game over
Help is appreciated