Simplified way to make something happen a limited amount of times.
I have an actor that spawns 1x and is then collected with playable actor. Actor spawns a 2nd time right after. After this second time I need the actor to not spawn any more and a new game level attribute activate (ie. lock door opens). What might a straight forward way be to program this? Using a numeric attribute? Appreciate if someone could post an example or direct me to a tutorial that is related.