Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Hi
I spawn a family with 4 objects randomly = 40
I have a counter to count each object (Slice1,Slice2,Slice3,Slice4)
BUT I only want to have 2 of Slice4
So when my Counts of Slice4 > 2 random spawn (Slice1,Slice2,Slice3)
How can I do that
Cheers
Something like this should work, although it may not be ideal because of its reliance on two families, one with 4 and one without.
Ohh... Could I please try out your capx.
Develop games in your browser. Powerful, performant & highly capable.
I didn't save it sorry. It was just 4 coloured boxes. Two groups, one which had sprites 1-4 and another which had sprites 1-3. Then what you see in the screenshot is all I did.
Okay ..
So I tried to do your way but cant set the
spritew4 > ID = 4
Hope you will ive it a go .. here is capx [attachment=0:prqjhlge][/attachment:prqjhlge]