Hello.
I'm trying to make a simple ABS system and some parts relies on eventing.
Basically, I have an event on the map that is the enemy, its role is to chase the player and so when it touches the player it triggers a damage handling routine.
Everything works fine but there's still a problem:
Whem the player is standing still, its good, damage is processed fine.
But if the player moves toward the enemy event, and keeps the move input key pressed, it keeps touching the event and so there are a LOT of damage processment.
The worst is that when I implement the player action (when we attack the enemies), the player (person playing) will mostly keep the move input key pressed toward the enemy event, so he can hit the enemy. And he is gona die before he can kill anything because of those unwanted touches.
There's an image of my event, the other pages only controlls the trigger that makes the enemy move toward the player, but the event touch is only what matters:
Any ideas?
I'm trying to make a simple ABS system and some parts relies on eventing.
Basically, I have an event on the map that is the enemy, its role is to chase the player and so when it touches the player it triggers a damage handling routine.
Everything works fine but there's still a problem:
Whem the player is standing still, its good, damage is processed fine.
But if the player moves toward the enemy event, and keeps the move input key pressed, it keeps touching the event and so there are a LOT of damage processment.
The worst is that when I implement the player action (when we attack the enemies), the player (person playing) will mostly keep the move input key pressed toward the enemy event, so he can hit the enemy. And he is gona die before he can kill anything because of those unwanted touches.
There's an image of my event, the other pages only controlls the trigger that makes the enemy move toward the player, but the event touch is only what matters: