i'm quite new to mapmaking and not very experienced. i created a map, i played a while ago in SC1 -> Total madness.
for those who don't know it: every player has a base to defend and automatically spawns units at his base, no base-building, the more kills you got, the better units will spawn... i've built a basic, working map, but its still quite faulty.
this code i got for all 8 players... so i have to change 96, when i want to make a change... and now i am pretty sure, this can be done much more elegant... :D
thought about an array with all players and a for-loop or something like that... please help
regards, dmo
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
hi,
i'm quite new to mapmaking and not very experienced. i created a map, i played a while ago in SC1 -> Total madness.
for those who don't know it: every player has a base to defend and automatically spawns units at his base, no base-building, the more kills you got, the better units will spawn... i've built a basic, working map, but its still quite faulty.
now i need help me making better scripts. ^^
example: global variables:
"unit-spawn" scripts (for player 1, for the 1st & 2nd unit). scripts 3-12 look like #2, just other variables and units...
this code i got for all 8 players... so i have to change 96, when i want to make a change... and now i am pretty sure, this can be done much more elegant... :D
thought about an array with all players and a for-loop or something like that... please help
regards, dmo