How do i limit spawning objects

Get help using Construct 2

Post » Sat Jul 19, 2014 9:23 am

Is there also a way for me to make it not too spawn anymore after a specified amount?
B
6
S
1
Posts: 38
Reputation: 662

Post » Sat Jul 19, 2014 9:59 am

You could create a global variable MonstersCreated

on monster created - system add 1 to MostersCreated

and in the spawnevent add a condition
system compare two values : MonstersCreated < 50 (or whatever the maximum amount of monsters you'd like to be created is)
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 » Sat Jul 19, 2014 10:19 am

Message: bubblesteam can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Can you please screen shot what you just explained :/
i dont quite understand
heres my capx and at the bottom is what i tried to do
http://bit.ly/1ryP4q5
B
6
S
1
Posts: 38
Reputation: 662

Post » Sat Jul 19, 2014 12:05 pm

Here's an edited and commented capx..
You do not have the required permissions to view the files attached to this post.
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 » Sat Jul 19, 2014 2:40 pm

you mean like this
You do not have the required permissions to view the files attached to this post.
B
245
S
37
G
15
Posts: 1,941
Reputation: 40,096

Post » Sun Jul 20, 2014 2:55 am

Thank you both!
B
6
S
1
Posts: 38
Reputation: 662

Post » Fri Apr 22, 2016 2:02 pm

thank you thank you ;)
B
4
Posts: 3
Reputation: 217

Post » Thu May 18, 2017 9:45 pm

Thank you. It was really helpful
B
2
Posts: 1
Reputation: 152

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests