• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

I'm not quite sure why this isn't working...

Status
Not open for further replies.
Level 3
Joined
Apr 30, 2005
Messages
24
Ok, on my map there are 5 players on each team, and one computer. One player on each team (meaning not the computer) is selected to be the leader, causing him to have a different unit. Here's what I have so far (Fighters and Warriors being the two different teams, players 11 and 12 being the computers)

EVENTS
Time - Elapsed game time is 0.01 seconds

ACTIONS
Player Group - Remove Player 11 (Dark Green) from (All players matching ((((Matching player) is an ally of Player 11 (Dark Green)) Equal to True) and (((Matching player) slot status) Not equal to Is unused)))

Player Group - Remove Player 12 (Brown) from (All players matching ((((Matching player) is an ally of Player 12 (Brown)) Equal to True) and (((Matching player) slot status) Not equal to Is unused)))

Set FighterLeader = (Random player from (All players matching ((((Matching player) is an ally of Player 11 (Dark Green)) Equal to True) and (((Matching player) slot status) Not equal to Is unused))))

Set WarriorLeader = (Random player from (All players matching ((((Matching player) is an ally of Player 12 (Brown)) Equal to True) and (((Matching player) slot status) Not equal to Is unused))))

At first I didn't have the first two actions, but later added them in because I had my suspicions that the times it wasn't working, it was picking the computer. Yet still, sometimes it continues to not work.

You have to know though, that some times this works, but about one in every three games, something messes up, or one in six one specific side messes up (leading me to believe it's because it picks the computer). It messes up even with full house games...

So anyone know what's going on?
 
Status
Not open for further replies.
Top