If you mean enemies on the map I know of at least 2 games where map movements are turn-based. So the player needs to think before moving in any direction.
You can do this with events.
I'm not at home at the moment, but a simple but not very practical method would be like this:
Create 2 Switches:
- Check movement
- Move enemies
Create 2 variables:
- Player-Steps_Check
- Player_Steps_Counter
Create a common event (activated by Switch "
Check movement"):
Code:
Control Variable[Player_Step_Check] = Player's step
IF: Var[Player_Steps_Counter] = Var[Player_Step_Counter]
Control Switch[Move Enemies] = OFF
:Else
Control Switch[Move Enemies] = ON
Control Variable[Player_Steps_Counter] = Player's step
:End
For all enemy NPCs, create a new page with the same graphic as the first, enable it on Switch 1 and select “Move Enemies” and in "Autonomous Movement" change from "Fixed" to "Approach"
See "Autonomous Movement" in Help file: