I want a collectable to appear once all the other collectables in a level have been collected, similar to the way box smashing works in levels, how owuld I go about this?
- you know how many there are when the level starts (fetch them all get array length) => int
Total Collectibles
- have another int
Collectibles
variable increase by 1 every time a player runs into a collectible (many ways to do that - bindonDestroyed
when counting the stuff in the first bullet point), then check:- when
Total Collectibles
==Collectibles
=> Branch (True) => Spawn Actor from Class (Reward Collectible)
- when