I'm making yet another TD, simple to understand WE better and hopefully create one or several innovative maps later on.
Example:
Levels_type[20] = Rock Golem
Levels_type[21] = Granite Golem
Levels_type[22] = War Golem
Then i spawn the creatures with:
Rock Golem and Granite Golem spawns without a problem. No matter what integers and level i use. Rock, Granite and certain other units spawns everytime without problems.
The rest won't spawn though, niether will custom copys of the working units.
Anyone got a idea what the problem is here?
-
For each (Integer A) from 20 to 30, do (Actions)
-
Loop - Actions
- Set Levels_type[(Integer A)] = (Random level (Integer A) creep unit-type)
-
Loop - Actions
Example:
Levels_type[20] = Rock Golem
Levels_type[21] = Granite Golem
Levels_type[22] = War Golem
Then i spawn the creatures with:
-
For each (Integer A) from 1 to 3, do (Actions)
-
Loop - Actions
- Unit - Create 20 Levels_type[(Round + 20)] for Player 12 (Brown) at (((Picked player) start location) offset by (250.00, 0.00)) facing Default building facing degrees
-
Loop - Actions
Rock Golem and Granite Golem spawns without a problem. No matter what integers and level i use. Rock, Granite and certain other units spawns everytime without problems.
The rest won't spawn though, niether will custom copys of the working units.
Anyone got a idea what the problem is here?
Last edited: