I bought this a month or two ago and have played around as well as looked over the documentation. There are two items I am currently stuck on that maybe I just didn’t see in the documentation.
First I create a string on the blackboard. This is initialized to “Idle” with the intention of calling an action to play the Idle animation. So simply how to I compare the content of the string to see if it is “Idle” or any other state the object may be in.
Second When this happens I want to first check to see if the Idle animation is currently playing. If it is not then I would play the animation. This would be useful if the NPC was searching and I did not want to restart the searching animation constantly.
There is an action included to play an animation. This action plays an animation by providing the AnimationClip to be used directly instead of it’s string name. This Action also checks if the last animation played was the same and if it was it doesn’t plays the animation again. Have you tried that action?
If you want an action to play animation by string name I could provide one
Where is it located? I have looked under actions and conditons but am not seeing anything for checking a string but every other type is there (Boolean,float ec)
Sorry I was wrong. I do have check string listed under conditions. However if I set check string and set string A to the blackboard variable of myState (which is set to Idle) and then string B to Idle it returns a false.