I want to make it so when I press a button in the game, it spawns a little creature, and after 6 are spawned, it doesn't spawn anymore.
In normal programming I'd use if/else statements, but I have no idea how to do it in Construct 2.
Anyone?
Develop games in your browser. Powerful, performant & highly capable.
in your game the creature have pathfinding behavior?
Might even be easier:
On button pushed
system compare two values : sprite.count < 6
system create sprite
this would limit the amount of sprites to 6, but when one is destroyed another can be made by clicking the button.
Might even be easier: On button pushed system compare two values : sprite.count < 6 > system create sprite this would limit the amount of sprites to 6, but when one is destroyed another can be made by clicking the button.
> system create sprite
This worked, thanks so much