• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Replace Unit while keeping abilities

Status
Not open for further replies.
Level 11
Joined
Feb 23, 2009
Messages
577
Is it doable in an easy manner? Or do I have to trigger every ability like this (below)?

  • Untitled Trigger 001
    • Events
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Ability_A for Unit_A) Greater than or equal to 1
        • Then - Actions
          • Unit - Add Ability_A to (Last replaced unit)
        • Else - Actions
 
  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- The Blood Mage has: --------
      • -------- Level 1 Siphon Mana --------
      • -------- Level 2 Banish --------
      • -------- Level 3 Flame Strike --------
      • -------- ----------- --------
      • Set u = Blood Mage 0000 <gen>
      • -------- ----------- --------
      • -------- This function will make the ability stays on that unit even after morph --------
      • Custom script: call UnitMakeAbilityPermanent(udg_u, true, 'AHfs')
      • Custom script: call UnitMakeAbilityPermanent(udg_u, true, 'AHbn')
      • Custom script: call UnitMakeAbilityPermanent(udg_u, true, 'AHdr')
      • -------- ----------- --------
      • -------- This is Hero Passive Transformation method --------
      • Unit - Add Blood Mage -> Paladin to u
So u have to have the unit use the spell and then not have a return to normal form ability?


PS: Yeah that doesn't help it would require so many extra custom spells
 
Status
Not open for further replies.
Back
Top