How do I tag an action

Just started using Construct 2? Post your questions here

Post » Tue May 23, 2017 4:02 am

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?
B
6
S
1
Posts: 1
Reputation: 354

Post » Tue May 23, 2017 11:27 am

Image

Its an system action called Signal. I am not really a great fan of using it, I suggest using an function instead.
Like my work? Fallow me on social media, and see my games on the arcade.
B
7
S
5
G
9
Posts: 298
Reputation: 5,367

Post » Thu May 25, 2017 3:00 pm

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.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
66
S
17
G
8
Posts: 637
Reputation: 9,370


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest