I load the attacking waves in the variables in my map like I did in Warcraft 3, it looks grate, but it is inflexible. If I want to add a wave between others I need to change all indexes. I wonder is there a better way to load the waves in the variables?
you can use an action definition for this.
rightclick in the trigger tree, then select new -> action definition.
Parameters are the values that you store, and you might also want to add a global variable that keeps track of the generated waves.
you can then just increase the global variable everytime the action definition is run and use that global variable to determine the wave number.
I load the attacking waves in the variables in my map like I did in Warcraft 3, it looks grate, but it is inflexible. If I want to add a wave between others I need to change all indexes. I wonder is there a better way to load the waves in the variables?
you can use an action definition for this.
rightclick in the trigger tree, then select new -> action definition.
Parameters are the values that you store, and you might also want to add a global variable that keeps track of the generated waves.
you can then just increase the global variable everytime the action definition is run and use that global variable to determine the wave number.
Thank you!