Edit:I want to making an Advance Replace Unit like:
I using Spells throwing knife in map Afterlife
After then i change weapons to Uzi, throwing knife still cooldown and the buff blend still effect.
I using Spells throwing knife in map Afterlife

After then i change weapons to Uzi, throwing knife still cooldown and the buff blend still effect.
-
Change to Bereta 9000S
-

Events
-


Unit - A unit Uses an item
-
-

Conditions
-


(Unit-type of (Hero manipulating item)) Not equal to Beretta 9000S
-


(Item-type of (Item being manipulated)) Equal to Beretta 9000S
-
-

Actions
-


Set effect[(Player number of (Owner of (Triggering unit)))] = pistol2.MDX
-


Set newHero[(Player number of (Owner of (Triggering unit)))] = Beretta 9000S
-


Custom script: set udg_Hero[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))] = ChangeUnit(GetManipulatingUnit(),udg_newHero[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))],udg_effect[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])
-


Game - Display to (All players) the text: (|CFFC70000Your Teammate + (ColorStr[(Player number of (Owner of (Hero manipulating item)))] + ((Name of (Owner of (Triggering unit))) + ((|r|CFFC70000 + has equipped ) + (Name of (Item being manipulated))))))
-
-
Last edited:
