How do I disable "spwan" object ?

Get help using Construct 2

Post » Fri Sep 05, 2014 7:54 am

Hi guys, how can i disable "to spawn a object" if a variable is 0 ( number of my choice)

thanks :)
B
37
S
16
G
2
Posts: 447
Reputation: 4,860

Post » Fri Sep 05, 2014 7:59 am

On that event, add another AND event. If variable is not equal to 0
B
32
S
6
G
2
Posts: 317
Reputation: 2,801

Post » Fri Sep 05, 2014 9:39 am

thanks ...I will try :)
B
37
S
16
G
2
Posts: 447
Reputation: 4,860

Post » Fri Sep 05, 2014 9:41 am

just a quick question... can I make something like that without variable.
example :
my tank spwans bullet.
If some event happens...how can I say: than tank does not spwan bullet...or spwn=diabled at that event


thanks :)
B
37
S
16
G
2
Posts: 447
Reputation: 4,860

Post » Fri Sep 05, 2014 12:01 pm

The simpliest way is to add the event you want to disable on a group and then when you make some action this action group was disabled or if you make an other action it was enabled.
B
17
S
6
G
1
Posts: 63
Reputation: 1,306

Post » Fri Sep 05, 2014 2:28 pm

thanks...I will try now :)
B
37
S
16
G
2
Posts: 447
Reputation: 4,860


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Casimir, tarek2 and 11 guests