Revive Units

  • Thread starter Thread starter Dr.mc.coy
  • Start date Start date
D

Dr.mc.coy

Guest
Hi there.

I've got a question. I'm sitting on a RPG-Campaign, and now I need a Spawn-script, like WoW. I've got a Test-Map for this TEst, because I have no Idea how to do this. Is there any functions to revive a Unit? My Trigger is like this:

if(Unit_Murloc) dies

do

wait 5 seconds
set Life of (Unit_Murloc) to 100.00%
Move Unit to Position of (Soldier)

But the Live is not set to 100%m I think because the Unit is allready dead, just the corpse is put to the Position of the Soldier. Are there any Options to revive the Murloc? It's necessary, that the revived Murloc is the same as the original Murloc, because they need to drop something.

Well,

I hope you guys can help me,

Dr.mc.coy
 
Events - A unit dies

Conditions - (Unit-type of (Dying unit)) Equal to ........

Actions - Wait 5.00 seconds
_______- Unit - Replace (Decaying unit) with a ....... using the new unit's max life and mana.



Hope it helps.
 
Thanks, it really helped =). But there is still a problem. The respawning works now, really great, thanks again. But only the original Murloc drops an item. The respawned ones should also drop. There is the Option

DROP ITEM AT UNIT POSITION

but I can't set the % of droping the unit. How can I dow this?


dr.mc.coy

PS: Excuse my bad english, I'm german^^
 
Oh, and there is another Problem, the Reviving works just one time.
Y?

Dr.mc.coy
 
There's an entire map dedicated to "Respawning Creeps" in the Free Trigger Code thread.
Have a look.


As for your "drops", you'll have to do them "by hand".

Something like:

Event: A unit owned by Neutral Hostile dies
Conditions: Random integer between 1 and 100 less than 10
Actions: Item - Create <whatever> item at position of (dying unit)


You may also want to consider registering on the forum.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper
  • Stephen Stephen:
    Oh no - please don't lose the Nuon content
    +1
  • The Helper The Helper:
    Someone email AtariAge and see if they want me to transfer the forum data over to it
  • Ghan Ghan:
    Could probably keep NUON stuff around here if we wanted.
  • Ghan Ghan:
    Hmm what to do about the World Editor site though?
  • Stephen Stephen:
    I'd rather personally just own a backup of the Nuon data than see it go to AtariAge honestly. If it gets enshittified as per usual, or if some of the "regular" Jaguar folks get there, it's not gonna be fun
  • The Helper The Helper:
    There will be a github of the forum data so the NUON Forum Data I guess would be available there
  • The Helper The Helper:
    World Editor is technically Ryoko stuff not mine you guys can keep that I am not in that even
  • jonas jonas:
    :( end of an era :(
  • The Helper The Helper:
    Dont think of it as an end jonas - think of it as a beginning, because really my friend that is what it is.
  • A Andyoyo:
    Thank you for the hard work over the years. It did not go unnoticed.

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top