How do I check var and spawn object

Get help using Construct 2

Post » Sun Nov 16, 2014 2:19 am

Hi I am trying to do the following:

Hero picks up bomb
System checks bomb var >1
Places bomb near doorBreak (wall)
doorBreak spawns a door

https://www.dropbox.com/s/jkquaorq1ziax5j/bomb.PNG?dl=0
B
5
S
1
Posts: 38
Reputation: 482

Post » Sun Nov 16, 2014 6:11 am

The On collision as a subevent of a For each looks weird, is that working for you? Why do you need the For each? The Waits in the 'For each' loops probably won't do what you expect, a loop is run in 1 tick. I would probably have the Subtract 1 from bomb in event 319 or 320. You have given us the expected results, what are the actual results?
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596


Return to How do I....?

Who is online

Users browsing this forum: Apollo14 and 25 guests