No. Once you put in the Break action, it will terminate the loop. I have overlooked this and thought it was a bug. Anyway, do you have any success in the Magazine Owner of Unit function? Can't really see it in the built-in functions by Blizzard though.
I haven't used that function before, but I use while loops all the time for all sorts of things, I also have a couple infinite loops, mostly just doing some math calculations so nothing big. They don't produce any lag and I've never seen my editor crash or the game crash as a result of their use.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi, guys,
There are several functions in the trigger editor that are not working namely:-
1. While loop function
- When using this function or action, the editor will either loop infinitely, or crash even when conditions are met.
2. Repeat forever function/action
- The editor will also crash or result in a black screen due to the infinite loop.
3. Magazine owner of unit function
- This function addresses the ammo unit from the main unit (for example, interceptors from carriers), but it is not working at all.
Therefore, my advice to fellow map or modmakers is to not use Infinite loop functions such as the While or Repeat Forever functions as stated.
You know there is a Break action for loops.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil:
In reply to WilliamJay:
In reply to onlyleviathan:
I haven't used that function before, but I use while loops all the time for all sorts of things, I also have a couple infinite loops, mostly just doing some math calculations so nothing big. They don't produce any lag and I've never seen my editor crash or the game crash as a result of their use.