• 🏆 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] [solved] Making a hero in to a building ?

Status
Not open for further replies.
Level 11
Joined
Nov 13, 2010
Messages
211
hey all so iam trying to make a hero in to a building

i whan you to upgrade a building in to a hero building

i try with this trigger but it just make the hero inside of the fake tower iam not sure on how to fix it
  • Untitled Trigger 001
    • Events
      • Unit - A unit owned by Player 1 (Red) Finishes an upgrade
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Triggering unit)) Equal to fake tower
        • Then - Actions
          • Unit - Replace (Triggering unit) with a fake tower using The old unit's relative life and mana
          • Set VariableSet point = (Position of (Last replaced unit))
          • Unit - Create 1 Sea Witch for (Owner of (Last replaced unit)) at point facing Default building facing degrees
          • Unit - Set life of (Last created unit) to (Percentage life of (Last replaced unit))%
        • Else - Actions
so when you upgrade the building in to fake tower it makes the fake tower + the Sea Witch inside of it and you can selected both
but if i make the scaling value of the fake tower to 0.100 and give it locust. then you can only selected Sea Witch but you can not sell the tower
 
Last edited:

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,557

It's possible but requires special methods.

I think a better solution than what's suggested in those threads would be to remove the Movement from the Hero or maybe have a Dummy cast Ensnare on it.
 
Level 11
Joined
Nov 13, 2010
Messages
211

It's possible but requires special methods.

I think a better solution than what's suggested in those threads would be to remove the Movement from the Hero or maybe have a Dummy cast Ensnare on it.
nvm i found a solution
 
Last edited:
Status
Not open for further replies.
Top