• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

3rd Loop

Status
Not open for further replies.
Is it possible to have a third loop?
I know that I can do an trigger which will run loop times and set the one integer plus 1 each time and do the 2 other loops in it. But I really don't want to waste so many triggers for that. I need it for my own Save-Load-Code system.

It works fine but I really hope there is an other easier way how to do that.

Would be glad to get better solutions.:thumbs_up:
 
if you use an integer variable in 1 trigger only where you don't need to "remember" the value (e.g. integers that are only used for determining the dmg of a spell in 1 trigger only that doesn't affect any gameplay) you can safely re-use this integer in your 3rd loop.
Also, if you CAN avoid loop in loop in loop, do so. it consumes quite some memory if you loop in another loop... especially if you go from e.g. 1 to 50.
 
Status
Not open for further replies.
Back
Top