My NPC stands idle (idle animation). If i enter a trigger box around him, then he salutes me… and hes back to idle animation.
Im trying this with an animation BP, where i set up the States for the animations like this:
So first she is idle. Then i created a variable called “isinside?”. If i chek it as yes, then she salutes(salute). After a time she makes other animation (idlewait) and after a time she returns to the initial idle state.
If i check the “isinside” box at the left, she is doing great.
BUT THEN:
I dont know how to combine the triggerbox with the “isinside” variable.
Y try to do it inside other BP but cant make it. Like this:
I have tryied all… watched tutos, and i have read about blueprints communications and interface etc… with no luck; it seems i am not able to understand how is this working.
Any idea please¿?¿
Also, on my ANIM BP, in the eventgraph i set it this way (i cant understand mucho of it, but i saw it in a tutorial and its working… at least when i click on the “isinside” variable on the UI.):
Hey tukor
You need to have a reference to your Animation Blueprint to call “Set Is Inside?”.
Target should be this reference.
You should get this Reference from your Skeletal Mesh by using the GetAnimInstance Node.
After that you have to cast the Value which you get to your Animation Blueprint Class and then Set your “IsInsider” Variable
It seems that my last answer to my post didnt made it, so ill try again.
i was saying that i thank you a lot for your Help. But the thing is i cant understand the steps i must do.
im able to get a "get anim instance"node in my external Bp (second screenshot), with an already “mesh” item docket to target and an empty “return value”. But nothing more…