Condition: Enemy Has lineofsight to player | Action: System: Wait 1.0 seconds
Action: Enemy: Sent Angle Toward (player.x,player.y)
Action: Enemy: Move forward 1 pixels
Sub-Event
Condition: Enemy: is overlapping player at offset (15,0) | Action: Enemy: Set line of sight range to 0
Else
Condition: Enemy: is overlapping player at offset (-15,0) | Action: Enemy: Set line of sight range to 0
Else
Condition: Enemy: is overlapping player at offset (0,15) | Action: Enemy: Set line of sight range to 0
Else
Condition: Enemy: is overlapping player at offset (0,-15) | Action: Enemy: Set line of sight range to 0
Else
Condition: Enemy: is not overlapping player | Action: Enemy: Set line of sight range to 10000