Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

How to stun enemy?

$
0
0

Hi, i am using a behavior tree, and I CANNOT for the life of me stun my enemy. I have a thing set up where when i left click, IT sends a line trace from my fps camera to the center of my screen and checks if it hit my enemy. It works with a print string, but if I get the blackboard and set the stunned bool to true in the ai controller, it doesn't fire.

https://gyazo.com/2255b0c18a0cbea2aa3f4f219fb93929

https://gyazo.com/cbcdc81cfb105aedacef477b4d38ab1f

https://gyazo.com/c50672d488dc5e043b33fa1bbc70c075


Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>