• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Spell] Unit Morphing Ability Problem

Status
Not open for further replies.
I've been having a lot of trouble with the Destroyer Form/Metamorphosis type abilities. When using the ability for a single unit, it works perfectly fine, requirements need to be met, and the ability charges you the gold, food and lumber cost.

The problem occurs when you have multiple of the base unit selected and morph them all at the same time.

I tested this with the Obsidian Statue unit from melee, and everything works as planned; if you have 12 of them and enough food or gold for only 1 of them to morph the game will only morph one of them.

However, in my custom map if I have 12 of the current unit and I press the morph ability it will morph all 12 of them, regardless of gold, lumber, and food costs. I only need to be able to afford one of them and the game will morph all of the selected.

This is a game breaking problem and I would really appreciate if someone could shed some light on the topic.

Thank you.
 
Do you trigger the morph, or just have it done by the ability?
 
What's the gold/lumber cost of the "from" unit and the "to" unit? And what fields did you change in the ability?

You could always try isolating the problem or showing us the problem. Just copy the 2 units and 1 ability to a new map and send the map to us. And check if the problem happens in that new map to see if it's a trigger interfering.
 
What a strange little glitch. It must be hardcoded. Anyways, here is a working version.
 

Attachments

Status
Not open for further replies.
Back
Top