Object that creates wood when the last one is destroyed

Get help using Construct 2

Post » Fri Jul 07, 2017 8:28 pm

How would I make it so that when a piece of wood is destroyed it triggers the wood dispenser that created it, but none of the other ones?
B
16
S
5
Posts: 20
Reputation: 1,040

Post » Fri Jul 07, 2017 8:41 pm

I sorted it here https://www.dropbox.com/s/ytkppgcc6b0hf ... .capx?dl=0

Added a wood total for the dispenser. It's +1 when wood created, subtracts 1 when wood destroyed, then creates more wood if total is 0.
B
46
S
16
G
74
Posts: 2,089
Reputation: 44,187

Post » Fri Jul 07, 2017 9:02 pm

@plinkie Thank you a ton! It works perfectly.
B
16
S
5
Posts: 20
Reputation: 1,040

Post » Fri Jul 07, 2017 9:06 pm

Np, I'm happy with my logic there. All wood relates to its own dispenser and wood will be dispensed from it when no wood remains! :)
B
46
S
16
G
74
Posts: 2,089
Reputation: 44,187

Post » Mon Jul 10, 2017 3:03 am

Once more, thank you, you were super helpful.
B
16
S
5
Posts: 20
Reputation: 1,040

Previous

Return to How do I....?

Who is online

Users browsing this forum: sean080 and 19 guests