• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Skip Remaining Actions?

Status
Not open for further replies.
Level 37
Joined
Jul 22, 2015
Messages
3,485
Skip Remaining Actions is just a return statement. If you know anything about programming, a return statement breaks out of the function.

With that in mind, I believe using "Skip Remaining Actions" in GUI functions that are actually seperate functions in itself (ex: unit group loop), it will just break out of the unit group loop and continue the actions below instead of breaking out of the function.
 
Level 15
Joined
Mar 25, 2016
Messages
1,327
With that in mind, I believe using "Skip Remaining Actions" in GUI functions that are actually seperate functions in itself (ex: unit group loop), it will just break out of the unit group loop and continue the actions below instead of breaking out of the function.
The functions inside the unit-group are called multiple times, so a return (skip remaining actions) will not break out of the unit group loop, but only stop the function in which it is called, so it will only stop the unit group actions for one unit and continue with the next unit.
 
Status
Not open for further replies.
Top