How do I NOT spawn objects...

Get help using Construct 2

Post » Sun May 03, 2015 5:03 pm

sorry guys, still have the same problem...I need to avoid spwning multiple objects... so from what I understand it's System->Compare two values->Sprite.Count = 0 to count them...but now how do I proceed ? how shall I say do NOT spawn another object ??? shall I also do the same thing to the spawner object that appers randomly and after spawning a missile it disappers ? thanks guys
B
37
S
16
G
2
Posts: 447
Reputation: 4,865

Post » Sun May 03, 2015 6:13 pm

Hello, you could put the spawn "code" into a group and when u want to deactivate the spawning u disable the group?
B
12
S
3
Posts: 211
Reputation: 1,477

Post » Sun May 03, 2015 6:14 pm

Hello, you could put the spawn "code" into a group and when u want to deactivate the spawning u disable the group?
B
12
S
3
Posts: 211
Reputation: 1,477

Post » Sun May 03, 2015 6:38 pm

ehhhmm..

If you only want to spawn a sprite when this condition:

System->Compare two values->Sprite.Count = 0

is true...

.. you should add this condition to the event which triggers the spawning action.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon May 04, 2015 4:38 am

thanks guys, I will try your kind suggestions :)
B
37
S
16
G
2
Posts: 447
Reputation: 4,865


Return to How do I....?

Who is online

Users browsing this forum: luckyrawatlucky, shawnzien and 6 guests