• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

HELP! Get MORPHED unit

Status
Not open for further replies.
Level 3
Joined
May 10, 2014
Messages
41
Hello!

I trying to make a spell that gives target unit a spell book. That spell can be casted on every unit, even on a building. So when target unit, that has morph spell, uses that morph, he loses spellbook. And I don't know how to catch just MORPHED unit.

How can I solve this problem?
I hope it can be realised with GUI.

As I think, there are 3 types of morph spells:
- simple morph (bear, crow, demon Hunter);
- collective morph (achcher taming);
- upgrade morph (main buildings, towers).

I don't know which type includes Crypt Burrow? It works like bear form?

One more thing... transformation Head Hunters into Berserks... how can I catch transformed Berserk, that was transformed from Hunter who had a spell book???

Thanks everybody for any information! :as:
 
Level 3
Joined
May 10, 2014
Messages
41
Hmmm... of course I try that way...

But I make a special effect on casting unit, and - nothing...
Is there any difference? (effect or ability)

Or may be I miss something...
I make Trigger like this:

Event: Unit finish casting ability
Condition: Ability is equal to ||some morph ability||
Action: Create a special effect on casting unit

Very simple. But if ability is "Ride Hippogryph" (taming) it doesnt work... I think because 2 units replaces with 1... and i don't know how to solve this.

Another problem is "Berserk" Tech-Type...
 
Level 24
Joined
Aug 1, 2013
Messages
4,657
First of all just make a test action that displays some values. next to adding a special effect, do Game - Display text(All Players, "unit = " + name of casting unit)

I will take a better look at it when I have time and test it too before I post.
 
Status
Not open for further replies.
Top