How do I could be use to send event in action track?

Slate Forums Support How do I could be use to send event in action track?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #488
    leegoonz
    Participant

    Would you please produce to example ?
    Your documents are not detail.
    Please explain to How to use to send event with other class custom function.

    #489
    leegoonz
    Participant

    Be sure I just use Send global node graph event that is simple use and I did.
    But other send event are not understand How to use that.

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

    Hello,

    For an example, you can use the ‘Send Global Event Float’:
    Event1

    In FlowScript instead of using ‘Custom Event’, use the node ‘Custom Event (T) -> System -> Float’:
    Event2

    The above will print 13.5 when the event is triggered in Slate.
    So basically, you just need to use the (T) version of the Custom Event node in FlowCanvas, where T is the type of the data the Slate event is sending. If you were using the ‘Send Global Event Bool’ for example, then you would also need to use the ‘Custom Event (T) -> System -> Boolean’ as well.

    Let me know if that is what you mean, or something different.

    Thanks.

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

    Attachments:
    You must be logged in to view attached files.
    #494
    leegoonz
    Participant

    I knew about that for How to use with Flowgraph.
    I just wonder about How to use to send event from Actor track that is not Send Graph Global event.
    Thanks.

    #495
    Gavalakis
    Keymaster

    Hello,

    The Send Event in and actor action track works exactly the same way, with the only difference being that the event is only send to the FlowScriptController graph attached on the Actor gameobject.

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

    #497
    leegoonz
    Participant

    So… I have to try just script based environment in unity.
    May I has wrong to used code.

    Would you please provide to example about actor track send event to C# script receiver ?

    #498
    leegoonz
    Participant

    Ah… I did it.
    Thanks.

    20160614_223602

    20160614_223545

    Attachments:
    You must be logged in to view attached files.
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.