Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: HasanOnuk on November 13, 2018, 06:28:44 AM
-
Hello, I would like a little bit of guidance/help/advice on creating a simple enemy with AI, something that activates when the player is within a radiance and deals damage when gets too close.
Thank you.
-
Hi.
To know if something is within range you can use colliders and set them as triggers (so you can walk thru the collider)
Then you can use a 'Trigger Event' action and set it to "On Trigger Enter" or "On Trigger Stay"
When something enters you can then do 'damage' to the player.