How do I make a global instance?

Get help using Construct 2

Post » Wed Nov 18, 2015 6:14 am

I want to make so that when all the enemies are destroyed, text comes on the screen. I have currently an amount instance on every enemy, and when an enemy is destroyed, it will drain one. When it reaches 0, it should display a text that says ''You win!''. So how do I do this right? When I kill an enemy, it only drains the ''Amount'' instance that is only on the enemy who is destroyed. So how do I make a global variable?
B
8
S
2
Posts: 50
Reputation: 644

Post » Wed Nov 18, 2015 6:21 am

Solved it, I just had to create it to the player!
B
8
S
2
Posts: 50
Reputation: 644

Post » Thu Nov 19, 2015 3:55 pm

Ok.
B
26
S
9
G
3
Posts: 251
Reputation: 4,052

Post » Thu Nov 19, 2015 3:56 pm

I have a similar current project.
B
26
S
9
G
3
Posts: 251
Reputation: 4,052


Return to How do I....?

Who is online

Users browsing this forum: Exabot [Bot], Maako, oosyrag, QuantumMMX and 11 guests