• 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] Detect Destroyer Form Ability Use

Status
Not open for further replies.
Level 7
Joined
Sep 4, 2016
Messages
116
I'm running into a bothersome issue. I have a map with summoned units that can be upgraded using an ability based from Destroyer Form so that it has resource cost. Unfortunately, while the unit they transform into costs additional food, it doesn't actually account for it. It still reduces food used when these units are killed, and the other resources were charged properly.
While any solution would be welcome, I in particular was looking for a way to detect when this ability is used. Does anyone know how to detect this, so I can build a trigger to fix things?
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,866
All of the Morph skills rely on Orders rather than Ability Events to detect when they are used.

It looks like the orders for this ability are: sphinxform / unsphinxform

These would be considered Orders with No targets.

Perhaps a solution would be to use the Chaos/Berserker abilities to adjust the food cost using an alternate unit?
 
Status
Not open for further replies.
Top