I want to create 2 modes for the player:
1- Movement (normal)
2- No movement, but can change direction.
This is a shooting game. I wanted every time the player presses 'ctrl' he switches between modes, and only in the no movement mode can the player shoot.
I tried to create an event when you press 'ctrl' that would make the player repeat an empty movement list to make him get stuck in place, and then using the movement buttons the character would change direction.
But it didn't really work, the player was stuck, and only by long pressing 'ctrl' could you change direction, but immediately after that you could move again.
See an example in the spoiler box.
If anyone knows how to create a situation where the player can only change direction without moving?
I know there is a plugin that allows changing direction before moving, but I prefer that the player has control over when to move freely and when to only change direction before shooting.
1- Movement (normal)
2- No movement, but can change direction.
This is a shooting game. I wanted every time the player presses 'ctrl' he switches between modes, and only in the no movement mode can the player shoot.
I tried to create an event when you press 'ctrl' that would make the player repeat an empty movement list to make him get stuck in place, and then using the movement buttons the character would change direction.
But it didn't really work, the player was stuck, and only by long pressing 'ctrl' could you change direction, but immediately after that you could move again.
See an example in the spoiler box.
If anyone knows how to create a situation where the player can only change direction without moving?
I know there is a plugin that allows changing direction before moving, but I prefer that the player has control over when to move freely and when to only change direction before shooting.
[/
SPOILER]