How do I check if a object exist or is destroyed

Get help using Construct 2

Post » Fri Nov 27, 2015 2:22 am

@Ashley
How do i check by event or condition if a object exist or is destroyed (not in game at the moment). So basically lets say a blue ball was destroyed in game by a event how do i check with a condition or a event if that ball is destroyed.

i want to use this in my game to basically not run some events if certain objects are not destroyed so as to stop looping effects.
Check out my apps:Apple App Store!
B
12
S
5
G
1
Posts: 34
Reputation: 1,538

Post » Fri Nov 27, 2015 3:12 am

Check Sprite.Count = 0.
ImageImageImage
B
71
S
21
G
203
Posts: 3,584
Reputation: 115,072

Post » Fri Nov 27, 2015 7:36 am

BlackFalcon7842 wrote:@Ashley
How do i check by event or condition if a object exist or is destroyed (not in game at the moment). So basically lets say a blue ball was destroyed in game by a event how do i check with a condition or a event if that ball is destroyed.

i want to use this in my game to basically not run some events if certain objects are not destroyed so as to stop looping effects.


Surely no need to tag the main developer for such a question, is there?
If your vision so exceeds your ability, then look to something closer.
Moderator
B
129
S
29
G
77
Posts: 5,196
Reputation: 54,299

Post » Fri Nov 27, 2015 12:03 pm

@zenox98
zenox98 wrote:Surely no need to tag the main developer for such a question, is there?
sorry its just i really needed to fix this problem i wont do it again

@blackhornet
blackhornet wrote:Check Sprite.Count = 0.

Thanks for your help man really appreciate it
Check out my apps:Apple App Store!
B
12
S
5
G
1
Posts: 34
Reputation: 1,538


Return to How do I....?

Who is online

Users browsing this forum: MuchaDev, tetuan, tikuna and 4 guests