• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Teamtrade

Status
Not open for further replies.

iBey

I

iBey

I have this building owned by Player 11 I want to be able to sell/train units to Player 1 and 2... They're in same player group and the building is able to both sell and train the units I want it to sell, but I still seem to miss the last thing that makes it possible... help plx :)
 
you could use text commands

meaning like the player types "- sell footman to p2", the underline words being interchangeable.

Or you could make certain buildings that correspond to one of the players and certain buildings that correspond to the other, and then you can easily trigger some actions that will change the team and move the unit to wherever.

Or you could simply allow Brown to build self-serve buildings meaning they build merc camps, and the gold will go to them (I believe that's automatic otherwise it can be triggered), the owner.
 
Wouldn't a neutral building work just as well here?

Otherwise you should make sure all the ally priorities allow them the option to share units, even if that only means for the buildings.
 
Try making the building that you are making the units trained from into one of the creep Taverns, and then make it allied to those players.
 
Thanks for all of your support guys but in the end i actually found a way myself ^^

Friendly
Events
Map initialization
Conditions
Actions
Player Group - Make RedNPC treat RedNPC as an Ally with shared vision and shared units
Player Group - Add Player 1 (Red) to RedNPC
Player Group - Add Player 10 (Light Blue) to RedNPC
Player Group - Add Player 2 (Blue) to BlueNPC
Player Group - Add Player 2 (Blue) to BlueNPC
Player Group - Make BlueNPC treat BlueNPC as an Ally with shared vision and shared units
Player Group - Make RedNPC treat RedNPC as an Ally with shared vision and shared units


var RedNPC = Player Group containing Player1 and Player 10
var BlueNPC = Player Group containing Player2 and Player 10

(it was a hero selection service i had to put up)
 
Status
Not open for further replies.
Back
Top