About Hero Revive place

950315

New Member
Reaction score
1
erm guys, i have a dumb question although everybody teach me how to code . but I really dumb enuff at coding. so yeah guys , do anybody know HOW can I make my hero reviving place at Starting Location? i have a code is reviving at center of the map its like this :"




call ReviveHeroLoc(OURHERO, GetRectCenter(GetPlayableMapRect()), true )




I really need the code , thanks!
 

Infinity.4Sk

New Member
Reaction score
6
you could just make an invisbile building with 0 collision at starting point, (obviously you would have to set starting units) and set the location to the building, and something like:

event:
A unit (in this case, your hero) so owner of unit(event response - Dying unit)

condition unit = hero or something :p

actions:
wait 30 (example) secs
Revive hero at location (well, start location)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top