Spawn problem

  • Thread starter Thread starter Krakka
  • Start date Start date
K

Krakka

Guest
ok im making a custom game that spawns unit ( a bit like TD) but I make em create every 20 sec and I make em go to a region and from that region they should go to another.....confusing

but it doesn't work!!

I looked on th TD help topic but I did everything that was written.
And also, could some1 tell me how you can spawn them but wheen they r assigned to a region they walk there but atack everything on the way.
Thx 4 helping me!
 
ok, here r the triggers I put

Event- Time- every 20.00 seconds of game time
Conditions- None
Actions Unit Create 10 murloc huntsman for Player 10(light blue) at (center of region Base1 <gen>) facing 0.00 degrees


Event- Unit-A unit enters Region Base1
Condition-none
Actions- unit-order(entering unit) to Move To (center of region Team1 <gen>)

The first trigger is for spawning them and the second is for moving them

P.S: player light blue is gonna be computer
 
Try this instead. It is a procedure for spawning,issuing order, path, and respawn which has worked for me...so far...

SPAWNTRIGGER1

Event- Time- elapsed 20.00 seconds of game time
Conditions- None
Actions
-Unit Create 10 murloc huntsman for Player 10(light blue) at (center of region Base1 <gen>) facing 0.00 degrees
-Set Spawn1( this is a unit-group type of variable with initial value = Empty group) = (Last created unit group)--(meaning the last created set of units)
-Unit Group- Order Spawn1 Move To (your region here)

PATH
Event - Unit enters (your other region)
Conditions - Owner of (entering unit or triggering unit) Equal to Player 10(light blue)
Actions
-Unit- Order (Entering unit) Move to (Another region)

Use this trigger as many time you want, in order to define your desired path.
And now for the respawn.

RESPAWN
Event - Unit owned by Player10(light blue) Dies
Condition- (Dying unit is in Spawn1)--- (or belongs or is within, I don't recall it well but it should be something like this. Very Important that you define this or you'll have exponential spawning and overflow)

Action
-If - (All Units in Spawn1 are dead) ( it is a Boolean type condition )
-then - Wait N seconds
- Trigger - Run SPAWNTRIGGER1 (ignoring conditions)
-Else - do nothing

Hope this works for you.
 
admin close this thread..

could an admin lose this thread cuz i already got all information I need...and i don't want people to waste their time writting down other triggers for me...

thx :D
 
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