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

universaly shared unit

Status
Not open for further replies.
Level 4
Joined
Jun 14, 2008
Messages
72
probably simpler then i am making this but I cant figure out how to make a unit that is neutral passive have 2 inventory slots and let everyone access it so everyone can put an item into it. TY
 
  • Player Group - Pick every player in (All players) and do (Actions)
    • Loop - Actions
      • Player - Make Neutral Passive treat (Picked player) as an Ally with shared vision and shared units
From what I can tell, you can't share exclusively one unit between different players; you have to share them all. If it is problematic to do so, I'd say devote one player slot to the shared unit. If you didn't want players to have vision, you could edit the unit to have 0 sight range, or this might work :

  • Player Group - Pick every player in (All players) and do (Actions)
    • Loop - Actions
      • Unit - Deny shared vision of (Your Unit) to (Picked player)
Give the unit a unit inventory spell in the object editor so it can carry stuff.

You could also possibly solve the problem by making the unit rescuable or using triggers to transfer ownership of the unit when another player owned unit comes in range or something like that.
 
this doesn't let me use this unit with everyone the goal is to have a unit that has 2 inventory slots, and when u put an item into it scores a point and destroys the item but EVERYONE must be able to use it if its any color other then red the inventory doesn't show up but when its red it works fine but other colors cant use it...
 
try adding select hero ability,it needs to select hero player´s hero so you might need to increase the range of ability,however im not sure will it work,but it does work in shearing abilities,buying items ...
 
Status
Not open for further replies.
Back
Top