🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

How to stun enemy?

Started by
0 comments, last by ThatAwkwardGameDev 4 years, 4 months ago

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

This topic is closed to new replies.

Advertisement