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

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

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #21447
    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.

      #21453
      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.

        #21452
        Gavalakis
        Keymaster

          Hello,

          For an example, you can use the ‘Send Global Event Float’:
          [attachment file=”Event1.png”]

          In FlowScript instead of using ‘Custom Event’, use the node ‘Custom Event (T) -> System -> Float’:
          [attachment file=”Event2.png”]

          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.

          #21451
          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.

            #21450
            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.

              #21449
              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 ?

                #21448
                leegoonz
                Participant

                  Ah… I did it.
                  Thanks.

                  [attachment file=”20160614_223602.jpg”]

                  [attachment file=”20160614_223545.jpg”]

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