Hello , im creating an ability using GAS and this ability needs its button to be pressed twice to be performed the idea is when the player presses “L1” he leaves a hologram of himself in his position after that a timer of 5 secs starts if those secs passed the hologram should be destroyed and the ability should end but if the player decided to press “L1” again before those 5 secs ends he should be teleported to the place where he left the hologram then the ability should end.
My current implementation is kinda working but i have only one problem and it is when i activate the ability the hologram is created but the timer stops immediately because of EndAbility() and if i moved it to OnHologramTimerExpired() i will not be able to teleport back to the hologram because the ability is currently active and when i press “L1” TryActivateAbility() will return false until those 5 secs passes.
How to solve this problem , thanks.
