playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Check out our
Chat Channel
!
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Enemy AI
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Enemy AI (Read 902 times)
HasanOnuk
Playmaker Newbie
Posts: 2
Enemy AI
«
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.
«
Last Edit: November 13, 2018, 06:30:28 AM by HasanOnuk
»
Logged
djaydino
Administrator
Hero Member
Posts: 7614
Re: Enemy AI
«
Reply #1 on:
November 13, 2018, 06:40:32 AM »
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.
Logged
Join the PlayMaker Discord Channel!
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Enemy AI