inception : calling an animation from another animation

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By nonomiyo

Hello !
Can I play an animation from animatedspriteB using a Call Func track in the animation panel of animatedspriteA ?

I created a Call Func track in animatedspriteA, targeting the other animated sprite node (B), then added a key and tried writing this in the ‘name’ section :

play("animationnamehere")

spoiler alert : didn’t work :stuck_out_tongue:
Is it even possible to do something like that ? :confused:

Thanks for your help !

:bust_in_silhouette: Reply From: volzhs
  1. put only play on Name field.
  2. make Arg Count to 1
  3. choose Type as String
  4. put animationnamehere on the first argument field.

enter image description here

whoa, awesome, thanks ! I’m amazed at the speed and kindness showned by Godot’s community :slight_smile:

nonomiyo | 2018-06-05 20:28