So within my for loop body a function is called, within that function I try to decrement a certain Integer. This doesnt seem to work tho, looks like the for loop is to fast or something? I can not really explain. I tried to do it outside the function but still within the loop body. Still does not work.
So I wonder, is it impossible to decrement/increment values in a for loop?
thanks for your reply. I deleted the initial code already but here I quickly rebuild the idea behind that:
The goal was to spawn 6 actors in total (amount stored in the array “Amount of actors to spawn”, I would have different values here for different waves)
But not 6 of the same type (Different actors defined in the array "Actors to spawn) so after the first 3 actors are spawned, the branch should switch to false which would change the index of the “Actors to spawn” array.
I thought of different ways already, but it would be great to know why the decrement is not working