Trigger where unit respawns after 30 seconds of death needed.

  • Thread starter Thread starter TheSecond
  • Start date Start date
T

TheSecond

Guest
Can someone please help me with a simple Unit dies / Respawn after 30 seconds trigger?
 
Code:
Event:
A unit is killed
Condition:
Action: Pick all player in group and do actions
              If dying unit is owned by picked player equal to false
              Then: Wait 30 sec.
              Instantly revive

Something like that
 
Uh, that seems kinda off, but the same idea:
Code:
Events -
     Unit Dies
Conditions -
     (Owner of (Dying unit)) equal to (Neutral Hostile)
Actions -
     Wait 30 seconds (game time)
     Create 1 (unit type of (dying unit)) at [B](position of (dying unit))[/B] facing default building degrees
To make it spawn in a random place, replace the bold part with (random point in (region))
 
Or a random point with size around the position of dying unit, also just use the Player owned unit event :cool:
 
Note that AgentPaper's trigger does not work with air units, as they don't have a decay animation and therefore disappear from the map before the wait action is done. The unit-type and the position of the dying unit are no longer there then. You might want to store the unit-type and the position in local variables, then it will work for air units, too.
 
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
  • 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.
  • The Helper The Helper:
    Also, anyone who is reading this and is sad - don't be, turn off the Internet, step away from the box - enjoy your life - there is so much more out there for you than there is here for you.

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top