• 🏆 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!

[Trigger] Problems with Replace Function

Status
Not open for further replies.
Im using the Unit - Replace in my map when the hero uses an item.
  • Events
  • Unit - A unit uses an item
  • Conditions
  • Actions
  • If/Then/Else Multiple Actions
  • Conditions
  • (Item of ((Hero Manipulating Item)) of Uzi)) equal to Uzi
  • Then
  • Unit - Replace (Hero Manipulating Item) with Human w/ Uzi with old unit's relative
  • Else
  • Do Nothing
But when i have the same item, along with a potion, when I use the potion it uses it and morphs the hero again into the Human w/ Uzi. Goes the same for my Revolver, Pistol, Shotgun, Sniper, M4A1 triggers. How can I stop this?
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
  • Unknown
    • Events
      • Unit - A unit Uses an item
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Item-type of (Item being manipulated)) Equal to Uzi
        • Then - Actions
          • Unit - Replace (Triggering unit) with a Human w/ Uzi using The old unit's relative life and mana
        • Else - Actions
 
Status
Not open for further replies.
Top