playMaker

Author Topic: Send Event at Timeline/Animation point/frame  (Read 569 times)

curb47

  • Sr. Member
  • ****
  • Posts: 256
Send Event at Timeline/Animation point/frame
« on: March 23, 2021, 07:45:28 AM »
Hello,
I'm developing a little cut scene using cinemachine, and I'm animation a camera move. I need to send an event when the camera has finished the move.

I have the Animation timeline open, and I can set keyframes there, so I'd like to link the keyframes to an event somehow, like, when the playhead on the timeline hits a keyframe, send event.

I can see on the timeline there is a small button next to the Add Keyframe button that says Add Event, but i can't link that to any playmaker events.

Any help is, as always, greatly appreciated.

J.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Send Event at Timeline/Animation point/frame
« Reply #1 on: March 23, 2021, 09:00:07 AM »
Hi.
Make sure the object with the animator has a fsm.
Then you should see in the event list 'Send Event' and 'Set State'
you can use both, but i noticed 'Set State' reacts a bit faster.

if you use 'Set State' place the exact state name of the state that you want to trigger.
for 'Send Event' set the event name.

if you have more than 1 fsm maker sure the target fsm is the 1st in the hierarchy (above other the other fsm's)