Respawn System as not only one trigger.

Hotwer

New Member
Reaction score
0
Yes, I know there's one trigger can replace the dead units, but It only works if unit makes a corpse and where unit was killed. I wanna know if you guys, know, a GUI System work good with make these things:

- Work with units without leave Corpse (like Reef Elemental Creep)
- Always spawn the unit in the same place (in a region)

I just wanna it make in GUI, if its possible, if didn't, Jass will me important too.
Thanks.
 

Opa

New Member
Reaction score
3
Yes
should be easy to modify, ask me if you got question
 

Attachments

  • Respawn System.w3x
    9.1 KB · Views: 209

Mahrloc

New Member
Reaction score
5
respawn
Event
Unit - A unit dies
condition
your conditions
actions
Unit - Create 1 (unit-type of (dying unit)) for player at (Position of (Dying unit)) facing angle degrees

if you want a point in a region replace (Position of (Dying unit)) with (center of region/random point in region)
 

Hotwer

New Member
Reaction score
0
@Mahrloc

The problem is, what happen if I have one more of this unit type?
Thats the problem.

@Opa
Can it be make in time after the creep was killed? Not in game time.
 

Mahrloc

New Member
Reaction score
5
then you have to store the position of the unit in a variable, set a timer to 45 seconds and create a trigger with an event: "timer expires"

/edit: then check if there are any units in the map of ur unit type and if there are no, set the timer
 

Hotwer

New Member
Reaction score
0
Thats the problem, when unit was killed, the Hero or Unit (w/e) pass throug the area? He will marked as the Variation, and will bug everything.
 

Hotwer

New Member
Reaction score
0
In a RPG, a System Respawn without crash the game.
I wanna make a respawn system will make the unit again in the initial position.
but, the problem is, mark the units with variables will can crash, if the Hero pass trough the
Region. I think there's a way to make the "marking" happens only ant 44.59 sec (0.01 sec of respawn) but I don't know how to do it.
 
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