Hello,
I occured a problem when I wanted a building to hold corpses like the Meatwagon does.
What I want:
I wanted to make a building, which can load a corpse and resurrect it. The summoned unit gets "Undead"-Classificaton, so it can be healed by Death Knight. So the Meatwagon can bring a corpse and the building can resurrect it, making it an Undead.
What I did:
-I copied the "Cargo Hold (Meatwagon)" Ability to hold exactly 1 Corpse named it "Cargo Hold (Sacrifice Pit)"
-I edited the "Sacrifice Pit" to have the "Load Corpse", "Drop Corpse" and "Cargo Hold (Sacrifice Pit)" Abilities.
-I copied the "Resurrection" Hero Ability (Paladin), named it "Incorperate".
-I edited the fresh Ability "Incorperate": No Hero Ability, 1 Corpse Raise, Target: Air, Dead, Ground.
-To test it, I made the cooldown low, no mana cost.
-I created a trigger, which runs when a unit is summoned by the Sacrifice Pit and gives the unit the classification "Undead", as well as changing its Colour (Animation vertex colour to 50%,50%,50%) so it's darker.
Problem:
The Sacrifice Pit can successful summon any corpse (friend/enemy/neutral) and can summon it from meatwagon also. But it cannot use a corpse which is loaded in itself or in another Sacrifice Pit (no corpses nearby).
But what I really want is, that it can only use the corpse in itself (like set radius/range to -1 or sth like that).
So the main problem is, if the Sacrifice Pit holds a corpse in its cargo, that corpse is not used by abilities, which target corpses.
Edited: I found the main problem: It works, if I change "Targeted as Structure" to "Targeted as Ground" at the Sacrifice Pit's object options. But this is not acceptable, it must not be "Targeted as Ground"!
Other Information:
Tried to use the corpse inside of Sacrifice Pit by Necromancers, it did not work (no usable corpses nearby).
What I tried, but failed:
Tested the original Cargo Hold of Meatwagon on Sacrifice Pit, did not work (no usable corpses nearby).
Tried to alter the Cargo Hold Ability to make it look more like the Cargo Hold Ability of an Orc Burrow (Cooldown 1, Duration 0), but it did not change a thing.
I searched Google as well as this forum, but could not find a thread which solves this problem.
I greatly hope someone can help me.
I hope, you can understand my English & my problem.
If you have further questions, please ask.
Thank you.
I occured a problem when I wanted a building to hold corpses like the Meatwagon does.
What I want:
I wanted to make a building, which can load a corpse and resurrect it. The summoned unit gets "Undead"-Classificaton, so it can be healed by Death Knight. So the Meatwagon can bring a corpse and the building can resurrect it, making it an Undead.
What I did:
-I copied the "Cargo Hold (Meatwagon)" Ability to hold exactly 1 Corpse named it "Cargo Hold (Sacrifice Pit)"
-I edited the "Sacrifice Pit" to have the "Load Corpse", "Drop Corpse" and "Cargo Hold (Sacrifice Pit)" Abilities.
-I copied the "Resurrection" Hero Ability (Paladin), named it "Incorperate".
-I edited the fresh Ability "Incorperate": No Hero Ability, 1 Corpse Raise, Target: Air, Dead, Ground.
-To test it, I made the cooldown low, no mana cost.
-I created a trigger, which runs when a unit is summoned by the Sacrifice Pit and gives the unit the classification "Undead", as well as changing its Colour (Animation vertex colour to 50%,50%,50%) so it's darker.
Problem:
The Sacrifice Pit can successful summon any corpse (friend/enemy/neutral) and can summon it from meatwagon also. But it cannot use a corpse which is loaded in itself or in another Sacrifice Pit (no corpses nearby).
But what I really want is, that it can only use the corpse in itself (like set radius/range to -1 or sth like that).
So the main problem is, if the Sacrifice Pit holds a corpse in its cargo, that corpse is not used by abilities, which target corpses.
Edited: I found the main problem: It works, if I change "Targeted as Structure" to "Targeted as Ground" at the Sacrifice Pit's object options. But this is not acceptable, it must not be "Targeted as Ground"!
Other Information:
Tried to use the corpse inside of Sacrifice Pit by Necromancers, it did not work (no usable corpses nearby).
What I tried, but failed:
Tested the original Cargo Hold of Meatwagon on Sacrifice Pit, did not work (no usable corpses nearby).
Tried to alter the Cargo Hold Ability to make it look more like the Cargo Hold Ability of an Orc Burrow (Cooldown 1, Duration 0), but it did not change a thing.
I searched Google as well as this forum, but could not find a thread which solves this problem.
I greatly hope someone can help me.
I hope, you can understand my English & my problem.
If you have further questions, please ask.
Thank you.
Last edited: