I have a game of Zombies in contruct 2, yes i'm very creative, i developed a gun system that shoot when you have bullets in your gun. In case o you don't have a bullets in you gun the system subtract eight bullets to yout bullets and put eight bullets in your gun. The problem is that i cant put time when reload
Asked
Active
Viewed 374 times
0
-
There is a System wait you can use: https://www.scirra.com/tutorials/56/how-to-use-the-system-wait-action/en – Mazz Mar 26 '17 at 11:30
2 Answers
0
Use wait statement before player subtracts bullets from totalAmount. After e.g. 3 sec add this amount to currentAmmo variable. It is inside System directory.

WonkyWan
- 117
- 11
0
Try using the wait
action before reloading the gun.
For example, you can code like
when the user requests to reload(event)
then wait x seconds
(action)
then reload (action)
subtract 8 bullets from bullet variable(action)
...
you should understand from there
Learn more about the wait
action at scirra.com/tutorials/56/how-to-use-the-system-wait-action/en

Mykell
- 1
- 1