Animation timeline event~

FlowCanvas Forums Support Animation timeline event~

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #931
    kong
    Participant

    Hello~

    I made an event on Animation timeline. How can I get “Send Message” on flow script?

    Thank you

    Attachments:
    You must be logged in to view attached files.
    #933
    Gavalakis
    Keymaster

    Hey,

    You can select the “SendEvent” function and type the name of the event that you want the flowscript to listen to. Then in the flowscript, you can use a Custom Event and set it to list to that same name:

    AnimationEventSendEvent

    Let me know if that works for you.
    Cheers.

    Join us on Discord: https://discord.gg/97q2Rjh

    Attachments:
    You must be logged in to view attached files.
    #935
    kong
    Participant

    Hello again^^

    I can not find the “SendEvent(string)” function. Does It need a unit pro licence?

    Thank you~

    Attachments:
    You must be logged in to view attached files.
    #937
    Gavalakis
    Keymaster

    Hello,

    No, it does not need a pro license. 🙂
    Is the Animation/Animator component in which you are trying to add the animation event on the same gameobject that has the FlowScriptController script?

    Join us on Discord: https://discord.gg/97q2Rjh

    #938
    kong
    Participant

    Hello^^

    Yes, Animator component has a same gameobject.

    Thank you for your support!

    #939
    Gavalakis
    Keymaster

    Hello again and sorry for the late reply.

    That is very strange. I honestly see a completely different list of options when selecting an Animation Event function on a gameobject with the FlowScriptController:

    AnimationEventFunction

    Hmm. What version of Unity and FlowCanvas are you using?

    Thanks in advance.

    Join us on Discord: https://discord.gg/97q2Rjh

    Attachments:
    You must be logged in to view attached files.
    #941
    kong
    Participant

    hello~

    unity ver : 5.3.5f1

    flowcanvas ver : 1.2.5b (Jul 15, 2016)

    So I did update to Unity(5.4). and that was solved ^^;

    Thank you so much your support. ^^

    #942
    Gavalakis
    Keymaster

    Ah.
    Thanks for letting me know that it works in Unity 5.4 correctly.

    You are very welcome 🙂

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.