• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

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,240
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