How do I remember the pick instance when calling a function

Get help using Construct 2

Post » Sat Oct 18, 2014 12:18 am

Hi all!

in my current project i need to call function but only for specific instance of an object.

The thing i do to that is

Cdt= pick object with where object.variable = 1
action => Call function

But when the function is call, it work on all the instance of the object and not only the instance with the object.variable =1
B
10
S
2
Posts: 12
Reputation: 1,160

Post » Sat Oct 18, 2014 12:33 am

You pass the UID as a parameter and then Pick by UID.
ImageImageImage
B
71
S
22
G
240
Posts: 3,734
Reputation: 133,994

Post » Sat Oct 18, 2014 1:04 am

It's working and i have learnt how to use parameter too.
One rock two hits :D

thanks!
B
10
S
2
Posts: 12
Reputation: 1,160


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], R0J0hound, YoHoho and 28 guests