Amo limit

Get help using Construct 2

Post » Mon Dec 10, 2012 12:33 am

How do I make an ammo limit for my game. I have tried six different method. I can't get squat to work.
B
1
Posts: 3
Reputation: 231

Post » Mon Dec 10, 2012 1:11 am

What did you want to happen when you reach the ammo limit?
B
20
S
2
Posts: 257
Reputation: 2,431

Post » Mon Dec 10, 2012 2:54 am

Just create a Global Variable called Ammo.
In your shooting event, check if Ammo is > 0.
If Ammo is greater than zero, than you still have ammo, so carry out the shooting event and also reduce the variable Ammo by 1.

EDIT: Also, this should be in the How do I? section Rory2012-12-10 02:55:28
B
36
S
10
G
6
Posts: 948
Reputation: 11,101

Post » Mon Dec 10, 2012 10:48 am

Moved to 'How do I' forum.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478


Return to How do I....?

Who is online

Users browsing this forum: Radulepy and 6 guests