Hey guys,
so I have some complex team match ups and stuff and thought having some triggeres to fire and then get a result would be usefull. Essentially using them as functions since well the jass code and function code is to much for me right now.
Is a setup like this wise?
Here are my structure:
And here is for example one of those triggers being used in another one:
so I have some complex team match ups and stuff and thought having some triggeres to fire and then get a result would be usefull. Essentially using them as functions since well the jass code and function code is to much for me right now.
Is a setup like this wise?
Here are my structure:
And here is for example one of those triggers being used in another one:
-
GetTeamsStillPlayingFull
-
Events
-
Conditions
-
Actions
-
-------- #### SET - TEAMS_STILL_PLAYING_COUNT --------
-
Trigger - Run GetMaxCountOfStillPlayingTeams <gen> (checking conditions)
-
-------- #### SET - TEAMS_STILL_PLAYING_INDICES --------
-
Trigger - Run GetArrayOfStillPlayingTeamIndices <gen> (checking conditions)
-
-------- #### SET - TEAMS_STILL_PLAYING_FILLED --------
-
For each (Integer A) from 1 to (TEAMS_STILL_PLAYING_COUNT + 1), do (Actions)
-
Loop - Actions
-
Set TEAMS_STILL_PLAYING_FILLED[(Integer A)] = teamsPlayerGroupArray[TEAMS_STILL_PLAYING_INDICES[(Integer A)]]
-
-
-
-