Issue changing between states in Blackboard
Hello! I've been following a tutorial on how to create an AI with vision, running towards the player if it is in sight, but for some reason, I'm unable to change between my two states (AggressiveCombat & Idle). Something does happen though, which makes me even more confused. Here's a video of what happens when it should change states
Here's a snippet of the blueprint where the state changes occur:
asked Sep 07 '15 at 10:03 AM in Blueprint Scripting
From what I can see on the video your problem is that the first task of the selector you're showing there (the one with
BTW, a hint here: place the higher priority branch ("aggressive" I presume) on the left, and have it's condition decorator set to
Let me know if there's anything unclear.
answered Sep 07 '15 at 02:12 PM
Usually what I do/What I was taught by the bignames is SetBlackboardKeyAsText
Then you can type in the state using the literalText node.
Let me know if you cant figure that out and I'll dig out some old AI projects. IT looks like it should work though, it could be an error in your logic. Your BTT or whatever your creating has a failure/non failure at the end? Hope this helps
Don't forget to accept an answer that best clears your question up or answers it so when the community finds your question in the future via search/google they know exactly what you did to fix it/get it going.
Follow this question
Once you sign in you will be able to subscribe for any updates here