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

Order building to revive hero

Status
Not open for further replies.
Level 18
Joined
Jan 21, 2006
Messages
2,552
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).
 
Level 18
Joined
Jan 21, 2006
Messages
2,552
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:
Level 8
Joined
Jun 26, 2010
Messages
530
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.
Top