What is wrong with this Morphing ability?

Volkof

Well-Known Member
Reaction score
31
Hello everyone,

I have a Rifleman Hero, at first he uses a rifle. Then he has a Normal ability called Promotion that lets him morph into another Rifleman Hero that uses Shotgun.

However the morph doesnt work at all. Its like the Rifleman keep casting the morph ability himself

Take a look at the Map and you will understand.
 

Attachments

  • Test Map.w3x
    26 KB · Views: 139

Nivius

TH.net Regular
Reaction score
5
didnt have time to fix it but i added a unit that uses the same thing on my map that works. its a sniper and same model as urs... look up the diffrances
 

Attachments

  • Test Map.w3x
    386.1 KB · Views: 135

Sajberhippie

New Member
Reaction score
30
Don't have time to download and check, but if it's a one-way promotion (he can't be degraded) you could use the Morph ability.
 

SaMmM

Member
Reaction score
4
I fixed it for you.

It is now based off the metamorphosis ability.

Some things for you to take note of:
1. Duration - Hero, it determines the duration of the morph, leave it at 0 for no duration.
2. Duration - Normal, it determines the casting time of the morph, preferbly don't edit this field.
 

Attachments

  • Test Map_Fixed.w3x
    26.2 KB · Views: 134

Volkof

Well-Known Member
Reaction score
31
Thank you SaMmM

But that was part one. Now I need the Morph ability to be in a spellbook, and it doesnt work now. Can you point out my mistake?

I believe it has something to do wif spellbook ability not bring permenant
 

Attachments

  • Test Map_Fixed.w3x
    26.8 KB · Views: 134

SaMmM

Member
Reaction score
4
call UnitMakeAbilityPermanent( udg_morpher, true, 'A006' )
 

Attachments

  • Test Map_Fixed2.w3x
    27.8 KB · Views: 128
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top