Hi guys,
I am trying to implement a stealth section into my game. One mechanic I wanted to add was allowing the player to hide inside a crate or barrel, and the idea is if enemies don't see them moving while in the crate, they will not detect them. But if the player is moving when the enemy looks in their direction, they will be detected.
Of course, there is no standard way to create a conditional branch that checks if the player is mid-movement. Is there a way to do this?
I am trying to implement a stealth section into my game. One mechanic I wanted to add was allowing the player to hide inside a crate or barrel, and the idea is if enemies don't see them moving while in the crate, they will not detect them. But if the player is moving when the enemy looks in their direction, they will be detected.
Of course, there is no standard way to create a conditional branch that checks if the player is mid-movement. Is there a way to do this?