custom function to evaluate several objects

Get help using Construct 2

Post » Sun May 12, 2013 9:33 am

Hello,
i have several objects connected between them with lines. I would like to evaluate the output on each object if i change one of them. Like if i click obj A then call myfucnevaluateALL that would go to all objects see inputs and change output .

How can i do that ?
B
5
Posts: 17
Reputation: 359

Post » Sun May 12, 2013 10:48 am

Hi @baleixo,

You could use the onCall event then doing a for each loop to evaluate all your objects.
On clicking obj A just call this function using the function plugin.
Also, I recommend you to use the same object with different animation frames and instances variables (input, output).
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Sun May 12, 2013 9:05 pm

thanks!
B
5
Posts: 17
Reputation: 359


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot], YoHoho and 13 guests