HI,
I need the player’s path to be reloaded 3 times in a row
what’s wrong?
Where exactly is it failing… like does the aura spawn but not heal, or what?
As for the timer part, it would be better to give the aura a variable for its healing capacity instead of duplicating events:
timer "bicarbonato" > 1 second | hp += 1
| aura.Capacity -= 1
| restart timer "bicarbonato"
-> aura.Capacity = 0 | delete aura
This way you can set any amount of healing you want without having to add more events. You could even do the same thing with the interval, instead of checking if the timer is > 1 second (a hardcoded number), you can check if it is > aura.Delay seconds.
the aura heals the player if injured for a maximum of 3 times in a limited period after which it is eliminated.
your suggestion would be to reset the timer and then create a second timer to manage the elimination right?
I would add a variable “TimerCheck
” to the Aura object, and use that to control the timer:
There’s no need to check if Aura is stuck to Playerhitbox - it should be stuck if it’s already in the scene, unless you use Aura somewhere else.
thank you so much it works!