• 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.

switch heroes

Status
Not open for further replies.
Level 4
Joined
Jun 17, 2011
Messages
64
in my map you can advance to a different hero but i cant make the trigger work. would i use replace unit? this is my trigger
  • Untitled Trigger 005
    • Events
      • Unit - A unit enters Region 015 <gen>
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) is A Hero) Equal to True
        • Then - Actions
          • Unit - Remove (Triggering unit) from the game
          • Unit - Create 1 Footman for (Owner of (Triggering unit)) at (Center of after job change 1 <gen>) facing Default building facing degrees
        • Else - Actions
 
Level 6
Joined
Sep 27, 2008
Messages
258
you can't have them the same and before you made them the same did it remove the 1st hero and then create the new unit? or did it crash

if it crashed then job change 1 <gen> could be triggered to do something else which might cause it to loop and crash but a test map would help alot
 
Status
Not open for further replies.
Top