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

Hero Revive System

Status
Not open for further replies.
Level 9
Joined
Feb 3, 2008
Messages
106
I am in the middle of making a hero arena, kind of like the popular game Fight of Characters. However I have encountered a problem, as I cannot seem to create a decent revive system so the heroes revive back at thei bases. Please help me :cry:
 
Level 14
Joined
Nov 4, 2006
Messages
1,241
  • Events
    • Unit - A Unit dies
  • Conditions
    • triggering Unit is a hero equal to true
  • Actions
    • Wait - wait xx seconds
    • Hero - revive (instantly) triggering Unit at (owner of triggering Unit) starting position
simply place the starting positions for every player at the bases, if you can't do that, use regions and add player comparisons
 
Level 6
Joined
Jul 13, 2007
Messages
173
im not at home but i think i can write something you can use.(i hope)
  • event
  • a unit dies
  • conditions
  • type of dying unit equal to hero(i think it that its called)
  • dying unit have an item ank equal to false
  • actions
(cant really remember the actions i will post them when i get home)
 
Level 9
Joined
Apr 3, 2008
Messages
700
  • Camera - Pan camera for (Triggering player) to ((Triggering player) start location) over 0.00 seconds
or
  • Custom script: local location p=<any point>
  • Custom script: call PanCameraToTimedLocForPlayer( GetTriggerPlayer(), p, 0 )
  • Custom script: call RemoveLocation( p )
  • Custom script: set p=null
 
Status
Not open for further replies.
Top