Advertisement

How to stun enemy?

Started by February 01, 2020 07:52 AM
0 comments, last by ThatAwkwardGameDev 4 years, 9 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