- Joined
- May 11, 2007
- Messages
- 4,650
For an idea for a map in a campaign, I was just wondering is it possible to change the race of a player ingame? This is for a singleplayer map.
Say you start as a Night Elf player, you're told to build up your forces to defend your base of an attack that will come in 10 minutes. You hurry all you can and after those 10 minutes you change from the Night Elf raceto the Orc race and lead the attackers on your base with all the defenses you cleverly built.
Alternatives I thought might be possible:
1) Either by GUI or Jass triggers that allows you to change the race, hud and sounds of a player to a different race.
2) Like they did in the orc campaign, using a saved(?) state that you load in a copy of the map but with a different player set as the controller.
3) Save variables from the first map, like how much gold the player has, what upgrades, how many troops etc and then load them in a second map. This would however not keep track of destructibles, etc.
4) Keep the same hud for both races, don't really wanna do this.
5) Use a shared control player for the other race, don't really wanna do this.
Is it possible to do?
Say you start as a Night Elf player, you're told to build up your forces to defend your base of an attack that will come in 10 minutes. You hurry all you can and after those 10 minutes you change from the Night Elf raceto the Orc race and lead the attackers on your base with all the defenses you cleverly built.
Alternatives I thought might be possible:
1) Either by GUI or Jass triggers that allows you to change the race, hud and sounds of a player to a different race.
2) Like they did in the orc campaign, using a saved(?) state that you load in a copy of the map but with a different player set as the controller.
3) Save variables from the first map, like how much gold the player has, what upgrades, how many troops etc and then load them in a second map. This would however not keep track of destructibles, etc.
4) Keep the same hud for both races, don't really wanna do this.
5) Use a shared control player for the other race, don't really wanna do this.
Is it possible to do?
Last edited: