I have a third person character that I want to “clone” multiple times. I want all my clones to duplicate the main character’s rotation, movement, actions (jump, punch etc) at the same time than the main character (I may add a slight delay later to the duplicated actions). I ve tried multiple techniques but none of them work
Can someone help me?
Thanks for your answer @EvilCleric
I havent tried event dispatchers and I’m not familiar with those. How would you do this? Duplicate the main character’s BP (or start a new one from scratch?) then what?
In the player character create 1 or more event dispatchers. In my case, I decided to use 2: one for the movement and another for the jump (you can use just one if you want).
How do you get the input vector pin in the call clone movement dispatcher? Or the jump tick box? When I create the dispatcher and call them I only have the exec input?output and the target pin.
Thanks again for helping
Ok thanks for explaining. I added a World direction pin (coudn’t find an input vector one) to the Call Clone Move dispatcher. Is this the same?
Also, when I try to connect the Cast to ThirdPersonCharacter “As Third Person Character” pin to the Bind event to clone Mov target pin I get an error saying: Third Person Character Object Reference is not compatible with (my cloneBP name) Object Reference. Did I forget to do something?
I created the dispatcher in the third person character and when I create pins without “copy signature from” the pins don’t show the name i gave them and i get the following compile error:
Ok this worked, I m one step closer.
Now in the clone BP I still cant connect the target pin of the Bind Event to Clone Mov and the custom event still shows the world direction pin even though i changed it in the ThirdPersonCharacter BP (compiled and saved).
Ok I just did this and it works!! Almost all of it! Direction, movement and jump (trigger) work great but for some reasons:
The walk/jog/run animation doesn’t work. The clones move in space but stay on the idle animation,
The jump animation works but uses the leap animation (should only be used when running) and not the regular jump one,
What can I call in the clone BP to clone my custom input actions from the main character BP (ie punch when a key is pressed)? I made custom events but what goes after the branch?
Are the clones copies of the third person character? If so, then it should use the same BP animation and it should use the same walk, run and jump animations as the player.
They do have the same anim BP (I duplicated the ThirtdPersonCharacter BP and only changed the Event Graph). What about cloning the punch animation triggered by a key press?