• 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.

Alliance chagning trigger

Status
Not open for further replies.
Level 4
Joined
Mar 12, 2008
Messages
83
In my map, player chooses a hero from 1 of 3 altars (undead,aliance,horde altars). For example, player have chosen a Troll, its a horde hero of course, so his hero instantly teleports to horde town, and his diplomacy to Horde, and Horde diplomacy to his is set to ally. I have this for all 3 sides so far. But if another player choose a tauren what can i do to make him allied to first player? Player2 could chose undead hero as well from where will the game know that he have chosen a horde hero? Please help me.
 
Level 14
Joined
Nov 4, 2006
Messages
1,241
you could try using different variables for the teams, and make them playergroups, then you make a trigger:
event: player chooses a hero
condition: hero is equal to troll
action: add triggering player to playergroup " horde"

im not 100% sure if this will work, but i don't know another way
 
Level 4
Joined
Mar 12, 2008
Messages
83
Ive done it! I have 3 variables (player group) Alliance, Horde and Undead. First 3 triggers are:
Make Alliance threat Alliance as ally
Make Horde threat Horde as Ally
Make Undead threat Undead as Ally

Next one
A Unit Enter Region (Playable map area)
Or Conditions:
Unit= Knight
Unit=Huntress
Unit=Dwarf
(and other Alliance characters)
Player group: Add Owner of unit to Alliance

Simillar triggers to Undead and Horde

Thx u maked me thinking ;)
But i dont understund u Need_O2 anyway :/
 
Last edited:
Status
Not open for further replies.
Top