0 Favourites

How do I tag an action

  • hi i want to use a wait for signal action and im suppose to tag an action so the system will recognize it and trigger another action how do i do this?

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Its an system action called Signal. I am not really a great fan of using it, I suggest using an function instead.

  • The wait-for-signal is a systems specific command called from an event, not as an event. What this means is you need an event that sets the signal to be called as an action...

    ie.. [This thing] On created-

    action- Wait-for-signal (mySignal)

    action- do this thing...

    Then you have to send the signal as an action from another event.

    ie.. Compare value {someVariable}=10-

    action- Signal (mySignal)

    The object waiting for the signal will now do this thing...

    Now as imhotep22 pointed out, there are other ways to do this just as easy. Instead of waiting for signal you could simply put a variable (instance or global) that you changed values of and test for that to trigger the object or use a function call. Constuct has simply gave you a variable called signal and you are filling it with your tag and comparing its value with Signal command.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
[Plugin] tag text
188 25,451
RBuster's avatar
RBuster
Unread hot topic
99 10,152
karshinkoff's avatar
karshinkoff
Unread hot topic
94 21,757
LaDestitute's avatar
LaDestitute