HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Starting units and buildings

08-25-2002, 01:39 PM#1
Guest
HOW do you set the starting buildings and units in a map that still allows the players to choose thier race?
08-25-2002, 02:59 PM#2
Guest
I think that might be possible with a couple of If, then, else actions in the initialisation.
Like
If Player 1 race Equal to Orc, then create 1 peon for Player 1 in Center of Player1Start <gen>, else do nothing
You could do that with a For loop (from 1 to the highest player number), so you'd just write Player (Integer A) instead of Player 1, 2, 3, etc.
That way you could basically make an orc player start out with like two peons and a grunt, or an undead player with an acolyte, a ghoul and a death knight or stuff.
08-26-2002, 07:38 PM#3
Guest
Thanks that idea worked.
09-25-2002, 04:50 AM#4
batskcaB
This is a great idea. =)