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

[Solved] Need help for a tunnel network ability

Level 1
Joined
May 15, 2025
Messages
4
Im trying to make an ability where once a unit enters into a specific building they get added to this global cargo and can then unload from any copy of the building.
So before starting i wanted to ask if it was even possible to do in the editor or if someone as already made a system that i can copy ?
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,920
It's not possible without some compromise and I doubt anyone has made a system like this before.

But the first idea that comes to mind:

Give your building an Ability that can only target other buildings of the same type. This will act like a custom Rally Point, pairing the two buildings together. I suggest a Unit Indexer to handle the pairing logic. Then whenever one of these buildings issues an Order to Unload a unit, Move the unloaded Unit to the position of it's paired building. But make sure that these buildings are paired with themselves by default, otherwise they will teleport the unloaded unit to the center of the map (missing Point = defaults to center).
 
Last edited:
Level 1
Joined
May 15, 2025
Messages
4
It's not possible without some compromise and I doubt anyone has made a system like this before.

But the first idea that comes to mind:

Give your building an Ability that can only target other buildings of the same type. This will act like a custom Rally Point, pairing the two buildings together. I suggest a Unit Indexer to handle the pairing logic. Then whenever one of these buildings issues an Order to Unload a unit, Move the unloaded Unit to the position of it's paired building. But make sure that these buildings are paired with themselves by default, otherwise they will teleport the unloaded unit to the center of the map (missing Point = defaults to center).
Thank you for the reply, i understand the logic but clearly this is beyond my abilities, i'll try and see if i can get some clues by looking at CustomWaygate v1.04 and if i can't tweak it i'll just use custom warpgates as it is.
 
Top