IID Details

Get help using Construct 2

Post » Thu Jun 07, 2012 5:01 pm

@Antylope You need a
System: Pick all tb_platform_half_l
after creating the objects since the only tb_platform_half_l selected will be the last one created.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,000

Post » Thu Jun 07, 2012 5:10 pm

Yeah, what ramones said is probably the problem. You should read about the "Pick nth instance" in the manual if you wonder why this happens.Nimtrix2012-06-07 17:11:34
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Thu Jun 07, 2012 5:12 pm

Not sure to get it. I tried to add the event you say but by it self it doesn't do anything. Tried to attach it the rotation events as sub-events but nothing.

Could you explain a little?I'm stucked in this since yesterday.

Thanks!
B
9
S
3
G
3
Posts: 39
Reputation: 3,112

Post » Thu Jun 07, 2012 5:23 pm

@Antylope:
I made an example to illustrate, try with the disabled event first, then re-enable it.

Link: PickInstance_Subevent.capx (r93)Nimtrix2012-06-07 17:24:04
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Thu Jun 07, 2012 5:31 pm

Beat me too it... haha
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,000

Post » Thu Jun 07, 2012 6:27 pm

An almost identical example.
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Thu Jun 07, 2012 6:28 pm

Damn. I've tried that when Ramones told me but still not working. I've checked the capx of Nimtrix and the only difference is how the objects are created (instead of "on start o flayout" is a variable comparison).

I'll ceck it out later but I see the calling is not the problem.

B
9
S
3
G
3
Posts: 39
Reputation: 3,112

Post » Thu Jun 07, 2012 7:30 pm

@Antylope I see the problem now. When you destroy an object it's not actually destroyed until the end of the event block. So you're picking the old object instances before they're destroyed.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,000

Post » Thu Jun 07, 2012 8:40 pm

THANKS!!!
I also learned that a group inside another group counts as a whole block (despite of events being independent)

Ok, thanks for your help, it works now.
B
9
S
3
G
3
Posts: 39
Reputation: 3,112

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 19 guests