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

[Solved] Is it possible to limit Unit Construction based on Player Slot/Color?

Status
Not open for further replies.
Level 4
Joined
May 20, 2011
Messages
59
Hey Guys,
Was wondering if it was possible to limit the construction of a Unit, let's say a Grunt for example, based on the Player Color/Slot. This would be so that Factions can only access their own special units, but from the same Barracks. Is this a possibility through the Editor's functions? Would it need to be done through custom variables and such, if so how? Let me know. thanks!

Cordially,
Adorm
 
There is a player function which limits the amount of times a player may train specific type of unit.

  • Player - Limit training of Footman to 2 for Player 1 (Red)
This isn't really what i'm looking for, I need something that inhibits a player from building a unit unless they are a specific color/slot. So Lets say I have Blue Grunt as a Custom Unit, Player Red, Green, Purple etc, won't be able to build that Unit, only Blue/Player 2. That is the kind of function I'm looking for.
 
Why do you need two threads for this?
I'm certainly more exhausted than I've realized, just went back and looked only to see I posted the same question a day ago. Oh god. My bad. *And also see that you've answered it!*
 
Status
Not open for further replies.
Back
Top