How do I make an object to appear only once if a condition..

Get help using Construct 2

Post » Wed May 14, 2014 8:33 pm

Hey guys...

I am trying to tell the program to initialize a group if the score is over 1500
Now, in this group I destroy all other objects and I tell system to create an object (Boss1) which has 1000 hit points and will give no score until it is destroyed.

The problem is that since the score will remain at 1500 until this object is destroyed, the system will continue creating it...

so, How do I make it appear only once (which conditions should I put?)?

Thanks!
B
4
Posts: 12
Reputation: 224

Post » Wed May 14, 2014 9:20 pm

Add this condition that will check if there is another instance of your Boss before creating another one:
System -> Compare two values -> Boss.Count < 1
B
49
S
15
G
6
Posts: 531
Reputation: 7,189

Post » Wed May 14, 2014 10:34 pm

Just a question. What about using System >>> Trigger once?
B
4
Posts: 12
Reputation: 224

Post » Wed May 14, 2014 11:29 pm

SirMarley wrote:Just a question. What about using System >>> Trigger once?

Should work the same, depending on your events ;)
B
49
S
15
G
6
Posts: 531
Reputation: 7,189


Return to How do I....?

Who is online

Users browsing this forum: DarkRoomGames, mekonbekon, NadeemAbbass and 10 guests