Compare PinUID - UID not working

Get help using Construct 2

Post » Sun Mar 31, 2013 6:49 am

I'm trying to spawn objects on my NPC family and I can't get the actions to work. This is what I'm using:

> For Each Object
> "Compare 2 values: Object.Pin.PinUID = NPC(family).UID"
______action_______ "set value of NPC.Variable to Object.Variable"

Is it because I'm using a family?

Any help would be appreciated. Thanks.
B
22
S
3
Posts: 451
Reputation: 2,135

Post » Sun Mar 31, 2013 7:55 am

Are you sure you need UID or IID?
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,428

Post » Sun Mar 31, 2013 8:03 am

Actually you're right, I do not. Because of the object not being fully created in the "spawn object" actions, I had to add a wait 0 seconds and THEN set the instance variables.

Thanks!
B
22
S
3
Posts: 451
Reputation: 2,135


Return to How do I....?

Who is online

Users browsing this forum: spcsmrf and 21 guests