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

Order building to revive hero

Status
Not open for further replies.
The order ID that is associated with hero revivals (on the Human altar, which is what I tested) goes as follows:

The first hero that is available to be revived in the altar is referenced at order ID 852027. From there each hero that is available after that hero is simply +1 to the order ID, meaning 852028, 852029, and so on.

At the moment I can't seem to get the altar to actually use these orders though; even with IssueImmediateOrderById it doesn't seem to be accepting it, that native returns false when I evaluate it when a Paladin has been dead for a couple of seconds (is available in the altar for revive, and I have adequate gold).
 
Yea I don't see that in the drop-down for issued orders. I have tried giving the altar the ability 'Arev' which is Revive Hero in the Object Editor but that didn't work either.
 
Last edited:
Maybe if you use "Issue unit a train/upgrade order". Maybe you can store the unit-type of the player heroes and if you order the altar to "train" a hero-type of a hero a player already owns (if you limited 1 hero per type per player) it would revive the hero. Idk, just a crazy idea that i think is worth trying.
 
Status
Not open for further replies.
Back
Top