Ok...I wanna create an RPG...

ianu74

New Member
Reaction score
8
I dunno how to make the mobs spawn after their dead... :banghead: :banghead: :banghead:
 

dragonhord

Knowledge is true opinion. - Plato
Reaction score
82
Events -
Unit - A unit dies
Conditions -
Dying unit is a hero equal to false
Actions -
Wait 30 seconds
Unit - Create 1 Unit type of dying unit at position of dying unit facing default building facing degrees
 

Monovertex

Formerly Smith_S9
Reaction score
1,461
dragonhord said:
Events -
Unit - A unit dies
Conditions -
Dying unit is a hero equal to false
Actions -
Wait 30 seconds
Unit - Create 1 Unit type of dying unit at position of dying unit facing default building facing degrees

And what happens if one creep dies imediately after another one? :rolleyes:

@ianu74: This has been asking a lot of time these days. Use the search option.
 

dragonhord

Knowledge is true opinion. - Plato
Reaction score
82
And what happens when you havent slept at all and its 7:30 in the morning mister daffy duck? :D Set em to a freakin variable or something lol.
 

dragonhord

Knowledge is true opinion. - Plato
Reaction score
82
dragonhord said:
And what happens when you havent slept at all and its 7:30 in the morning mister daffy duck? :D Set em to a freakin variable or something lol.
You :D .
 

Tyrulan

Ultra Cool Member
Reaction score
37
Creep Respawns

Try this, works for me:

Creep Respawn
Events
Unit - A unit owned by Player 12 (Brown) Dies
Conditions
(Dying unit) Not equal to (Put Boss Names, so they dont respawn; here)
Actions
Wait 120.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Unit - Create 1 (Unit-type of (Dying unit)) for Player 12 (Brown) at (Position of (Dying unit)) facing (Random angle) degrees
Else - Actions
Trigger - Run (This trigger) (checking conditions)


Good Luck :)
 

SFilip

Gone but not forgotten
Reaction score
634
> And what happens if one creep dies imediately after another one?
they both respawn. :rolleyes:
 

dragonhord

Knowledge is true opinion. - Plato
Reaction score
82
SFilip said:
> And what happens if one creep dies imediately after another one?
they both respawn. :rolleyes:
Oh look at that i was RIGHT!!! Go me! :p Or atleast i think he was on my side XD.
 

Tyrulan

Ultra Cool Member
Reaction score
37
Uh... no, they respawn 120 seconds later. Try it, you'll see

And yea, Im on Dragonhord's side. :D <3
 

Chewbalka

New Member
Reaction score
14
Tyrulan said:
Try this

Creep Respawn
Events
Unit - A unit owned by Player 12 (Brown) Dies
Conditions
(Dying unit) Not equal to (Put Boss Names, so they dont respawn; here)
Actions
Wait 120.00 seconds
Unit - Create 1 (Unit-type of (Dying unit)) for Player 12 (Brown) at (Position of (Dying unit)) facing (Random angle) degrees
Same thing as your but reduced lol.
i got one like this set for 40seconds and it works fine so you really dont need if then eles.
 

Monovertex

Formerly Smith_S9
Reaction score
1,461
SFilip said:
> And what happens if one creep dies imediately after another one?
they both respawn. :rolleyes:


Ummm.. let's see...

Creep1 dies. Trigger fires, the wait starts. 2 seconds pass, and creep2 dies. So the trigger stops and fires again. It's like the non-MUI spells :p
 

Tyrulan

Ultra Cool Member
Reaction score
37
I find 40 seconds WAY too short, creeps respawn before you've even killed them all. You could, if you want set 1000 hero = true then no respawn I guess.
 
G

Goauld

Guest
smith_s9 said:
Ummm.. let's see...

Creep1 dies. Trigger fires, the wait starts. 2 seconds pass, and creep2 dies. So the trigger stops and fires again. It's like the non-MUI spells :p
Lol, there are no global variables so it is MUI. What are you talking about? Dragonhord's trigger works perfectly, the only problem is that it has memory leaks.
 

Tyrulan

Ultra Cool Member
Reaction score
37
smith_s9 said:
Ummm.. let's see...

Creep1 dies. Trigger fires, the wait starts. 2 seconds pass, and creep2 dies. So the trigger stops and fires again. It's like the non-MUI spells :p

You know, theres a good reason why theres the else action : Trigger Run, otherwise your comments would be true.
 

Chewbalka

New Member
Reaction score
14
Tyrulan said:
I find 40 seconds WAY too short, creeps respawn before you've even killed them all. You could, if you want set 1000 hero = true then no respawn I guess.
no as smith said if you kill them to fast they will start to not revive, it happend to me with a lvl 8 mannroth on only 60 seconds lol.
lpus the 40 seconds seem longer when your ingame then you'd think :rolleyes:
 

Monovertex

Formerly Smith_S9
Reaction score
1,461
Goauld said:
Lol, there are no global variables so it is MUI. What are you talking about? Dragonhord's trigger works perfectly, the only problem is that it has memory leaks.

Are you sure? Waits also make a trigger non-MUI.
 

dragonhord

Knowledge is true opinion. - Plato
Reaction score
82
Set the unit to a variable :p That or use Jass haha. Im just starting to learn that :p . I can make strings show up on the screen when you press esc... Hahahahahaha. Thats about all i got. Now Sfilip may comment on the fact that thats ALL i can do... but thats fine... i dont care ill be a man about it. Jass is hard for my brain to comprehend :( .
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top