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

revive system doesn't respawn units

Status
Not open for further replies.
Level 4
Joined
Jun 17, 2011
Messages
64
ok i have this as my revive system in my map but the units dont re spawn
  • Revive
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Owner of (Dying unit)) Equal to Player 11 (Dark Green)) or (((Dying unit) is A Hero) Equal to True)
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Dying unit) is A Hero) Equal to True
        • Then - Actions
          • Wait ((Real((Level of (Triggering unit)))) + 10.00) seconds
          • Hero - Instantly revive (Dying unit) at (Center of hero revive town <gen>), Hide revival graphics
        • Else - Actions
          • Wait 20.00 seconds
          • Unit - Create 1 (Unit-type of (Dying unit)) for Player 12 (Brown) at (Position of (Dying unit)) facing Default building facing degrees
 
Last edited by a moderator:
Level 6
Joined
Sep 27, 2008
Messages
258
I think you should remove ((Owner of (Dying unit)) Equal to Player 11 (Dark Green)) or (((Dying unit) is A Hero) Equal to True) because u have an if condition down... Try that :)

yea try that and put the trigger text in this
  • Events
  • Unit - A unit Dies
  • Conditions
  • ((Owner of (Dying unit)) Equal to Player 11 (Dark Green)) or (((Dying unit) is A Hero) Equal to True)
  • Actions
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
  • If - Conditions
  • ((Dying unit) is A Hero) Equal to True
  • Then - Actions
  • Wait ((Real((Level of (Triggering unit)))) + 10.00) seconds
  • Hero - Instantly revive (Dying unit) at (Center of hero revive town <gen>), Hide revival graphics
  • Else - Actions
  • Wait 20.00 seconds
  • Unit - Create 1 (Unit-type of (Dying unit)) for Player 12 (Brown) at (Position of (Dying unit)) facing Default building facing degrees


easier to read well for me it is at least
 
Level 6
Joined
Sep 27, 2008
Messages
258
put ["Trigger] Trigger stuff her[/trigger"]
Without " "
and try this for the trigger it should work

  • Rebirth
    • Events
      • Unit - A unit Dies
    • 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
          • (Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
        • Then - Actions
          • Wait ((Real((Level of (Triggering unit)))) + 10.00) seconds
          • Hero - Instantly revive (Dying unit) at (Center of (Playable map area)), Hide revival graphics
        • Else - Actions
          • Wait 20.00 seconds
          • Unit - Create 1 (Unit-type of (Dying unit)) for Player 12 (Brown) at (Center of (Playable map area)) facing Default building facing degrees
 
Status
Not open for further replies.
Top