How to make an object not to spawn again

Get help using Construct 2

Post » Wed Nov 26, 2014 4:28 pm

Hi to everyone here again! :D

How to make an object not to spawn again when there is one inside the layout already?

I have set the events and actions for changing the weapons by pressing "1" for pistol and pressing "2" for rifle. But whenever I kept pressing the "1" key for pistol, it spawns more than one and literally became a shotgun to shoot more than three bullets at a time. So what should I do? :(?

/Vinnie
B
2
Posts: 5
Reputation: 160

Post » Wed Nov 26, 2014 5:25 pm

on key pressed "1"
(System compare two values)
pistol.Count=0...................................................... spawn
B
66
S
24
G
7
Posts: 1,514
Reputation: 11,039

Post » Wed Nov 26, 2014 5:47 pm

korbaach wrote:on key pressed "1"
(System compare two values)
pistol.Count=0...................................................... spawn



I finally made it work! Thank you very muchhhsiiiiii~~~~ :D!!!!


/Vinnie
B
2
Posts: 5
Reputation: 160


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], Darknessed, FabianB and 39 guests