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

Shared Building

Status
Not open for further replies.
Level 1
Joined
Feb 24, 2010
Messages
62
Basically, the thing you want to do is similar to what a Xel'Naga tower does, except a little more. Good thing this is achievable.

Make a new Ability, and set its Type to Interact. Then set both the Ability - Auto Cast Range and Stats - Range to a value, and check the flags 'Auto Cast', 'Share Control', 'Share Vision' (optional) and 'Same Cliff Level' (optional) at the Stats - Flags field. Last thing to do is look at the Target Filters of the ability.

Then add it to your unit, and it should share the building. Do note that even though you share the building, you can't buy anything which costs minerals / gas / whatever, since it gives the error 'You can't use someone elses minerals blabla'. =(

If you need any help with it, you could also take a look at the Xel'Naga ability, named 'Tower Capture'.
 
Status
Not open for further replies.
Top