It's an odd trigger that breaks some rules of sorts, but it does EXACTLY what I've been trying to do for a few days now. But now that I've got it to work it says there's a "nested iteration detected" when the trigger is put to action during the game. I know what it's getting at, but I'm happy with it and it runs perfectly actually, just not to the games liking. Can I get it to ignore/accept this error? Will it let the map be published with such errors? (im going to repeat this trigger elsewhere in the map quite a lot of times...)
as far as ive seen nested iteration means you used "pick each integer/player/unit/etc" inside of ANOTHER pick each integer/etc, to avoid this try to use "for each" actions instead of "pick each" using the for each requires you to a make a local variable for it to work, and you would refer to said variable in your functions instead of "picked integer/player/etc"
Well i got the same error and what you said fixed my problem!
I thought it's okey to have "Pick Each Integer" multiply times in a trigger
if you're not routing a "Pick Each Integer" in the actions of another "Pick Each Integer"...
(If that sentence makes any Sense, haha) :P
But seems not to be okey...
Well thanks LinkD
EDIT:
Ok that's not true, what I said...
I just mixed up (within my trigger) "For each Integer Do..." and "Pick Each Integer" ...
So i refered to an integer, that didn't exist... (hardly working)
It's an odd trigger that breaks some rules of sorts, but it does EXACTLY what I've been trying to do for a few days now. But now that I've got it to work it says there's a "nested iteration detected" when the trigger is put to action during the game. I know what it's getting at, but I'm happy with it and it runs perfectly actually, just not to the games liking. Can I get it to ignore/accept this error? Will it let the map be published with such errors? (im going to repeat this trigger elsewhere in the map quite a lot of times...)
@WhiskyEU: Go
I think if you look at the message log, i think it gives a more specific error message... Otherwise it doesn't prevent you from uploading.
@kirym: Go
as far as ive seen nested iteration means you used "pick each integer/player/unit/etc" inside of ANOTHER pick each integer/etc, to avoid this try to use "for each" actions instead of "pick each" using the for each requires you to a make a local variable for it to work, and you would refer to said variable in your functions instead of "picked integer/player/etc"
sorry if im hard to understand
@LinkD: Go
Well i got the same error and what you said fixed my problem! I thought it's okey to have "Pick Each Integer" multiply times in a trigger if you're not routing a "Pick Each Integer" in the actions of another "Pick Each Integer"... (If that sentence makes any Sense, haha) :P But seems not to be okey...
Well thanks LinkD
EDIT: Ok that's not true, what I said... I just mixed up (within my trigger) "For each Integer Do..." and "Pick Each Integer" ... So i refered to an integer, that didn't exist... (hardly working)