(SOLVED) enemy detects player

Minor

Member
I put an enemy in a loop spawn animation, but i want him to get out this state when a player is near.

FtoGcnb.png



I found this answer by bloodbane in the "minor help" topic:

EXTRA: with a certain script, you can expand this idle to waiting state in which enemy waits until player gets close enough before he/she jumps in or ambush player

But what is this script and how can i make this? thank you  :)

 
Back
Top Bottom