I keep getting this error message when a unit enters death zone region and "Unit enters End Region" trigger fires:
gt_unit enters end region_func':
Nested iteration detected
Does anyone know what does this error means and why it is occurring? Here is my trigger:
UnitEntersEndRegionEventsUnit-AnyUnitEntersDeathZoneLocalVariablesLifeGroup=(Emptyunitgroup)<UnitGroup>Conditions(Ownerof(Triggeringunit))==8ActionsUnitGroup-Pickeachunitin(AnyunitsinLifeAreaownedbyplayer7matchingExcluded:Missile,Dead,Hidden,withatmostAnyAmount)anddo(Actions)ActionsUnitGroup-Add(Pickedunit)toLifeGroupUnitGroup-PickeachunitinLifeGroupanddo(Actions)ActionsUnit-Kill(Unit1fromLifeGroup)Sound-PlayLurkerEgg_Explodefor(Allplayers)(at100.0%volume,skipthefirst0.0seconds)Variable-ModifyLives:-1Leaderboard-SetnameofKillboardto("Lives: "+(Text(Lives))),withcolor(100%,0%,0%)Unit-Remove(Triggeringunit)fromthegameUI-Display"A Life Has B<c "for(Allplayers)toSubtitleareaTrigger-RunWaveEnd(CheckConditions,Don'tWaituntilitfinishes)General-If(Conditions)thendo(Actions)elsedo(Actions)IfLives<=0ThenSound-PlayTerran_ExplosionLargefor(Allplayers)(at100.0%volume,skipthefirst0.0seconds)General-Wait6.0RealTimesecondsSound-PlayModUtilityVoiceModUtilityVoice00077for(Allplayers)(at100.0%volume,skipthefirst0.0seconds)General-Wait1.2RealTimesecondsSound-PlayModUtilityVoiceModUtilityVoice00079for(Allplayers)(at100.0%volume,skipthefirst0.0seconds)General-Wait1.0RealTimesecondsGame-EndgameinDefeatforplayer1(Showdialogs,Showscorescreen)Game-EndgameinDefeatforplayer2(Showdialogs,Showscorescreen)Game-EndgameinDefeatforplayer3(Showdialogs,Showscorescreen)Game-EndgameinDefeatforplayer4(Showdialogs,Showscorescreen)Else
I keep getting this error message when a unit enters death zone region and "Unit enters End Region" trigger fires:
gt_unit enters end region_func': Nested iteration detected
Does anyone know what does this error means and why it is occurring? Here is my trigger:
Whats the point of that. why not just
also what is "Trigger - Run Wave End (Check Conditions, Don't Wait until it finishes)"
It is so i can kill only one unit (pylon) in the life area region per unit that enters the death end region
and it is the wave end trigger. (I moved it to fire at the very end of the unit enters end region trigger now. Still the error though
Sorry if you are in mid reply.
I fixed it. I, yet again, missed the "at most any amount" variable in the pick unit action.
Thanks for your help, you and this board really have saved this map from the recycle bin!