loading page poll

Pyromancer

New Member
Reaction score
16
trigger help

hey,
i was wondering, can sum1 please help me with this trigger?

timer trigger
Code:
timer

events:
   map initialation
conditions:
actions:
   Countdown Timer - Start unit_maker_timer[(Player number of Player 1 (Red))] as a Repeating timer that will expire in 20.00 seconds
   Countdown Timer - Start unit_maker_timer[(Player number of Player 2 (Blue))] as a Repeating timer that will expire in 20.00 seconds
   Countdown Timer - Start unit_maker_timer[(Player number of Player 3 (Teal))] as a Repeating timer that will expire in 20.00 seconds
   [etc thru player 8}

unit maker p1 (human
Code:
p1 human

events:
   Time - unit_maker_timer[(Player number of Player 1 (Red))] expires
conditions:
Actions
    Unit Group - Pick every unit in (Units in p1 start location <gen>) and do (Actions)
        Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    (Unit-type of (Picked unit)) Equal to Human I
                Then - Actions
                    Unit - Create 5 Footman for Player 11 (Dark Green) at (Center of p1 start location <gen>) facing Default building facing (270.0) degrees
                    Unit Group - Pick every unit in (Units in p1 start location <gen>) and do (Actions)
                        Loop - Actions
                            Unit - Order (Picked unit) to Attack-Move To (Center of um1 <gen>)
                Else - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Unit-type of (Picked unit)) Equal to Human II
                        Then - Actions
                            Unit - Create 3 Knight for Player 11 (Dark Green) at (Center of p1 start location <gen>) facing Default building facing (270.0) degrees
                            Unit Group - Pick every unit in (Units in p1 start location <gen>) and do (Actions)
                                Loop - Actions
                                    Unit - Order (Picked unit) to Attack-Move To (Center of um1 <gen>)
                        Else - Actions
                            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                If - Conditions
                                    (Unit-type of (Picked unit)) Equal to Human III
                                Then - Actions
                                    Unit - Create 3 Gryphon Rider for Player 11 (Dark Green) at (Center of p1 start location <gen>) facing Default building facing (270.0) degrees
                                    Unit Group - Pick every unit in (Units in p1 start location <gen>) and do (Actions)
                                        Loop - Actions
                                            Unit - Order (Picked unit) to Attack-Move To (Center of um1 <gen>)
                                Else - Actions
                                    Do nothing


unit mover trigger
Code:
Events
    Unit - A unit enters um1 <gen>
Conditions
    ((Triggering unit) is A Hero) Not equal to True
Actions
    Unit - Order (Triggering unit) to Attack-Move To (Center of unit move 1 <gen>)

next unit mover
Code:
Events
    Unit - A unit enters unit move 1 <gen>
Conditions
    ((Triggering unit) is A Hero) Not equal to True
Actions
    Unit - Order (Triggering unit) to Attack-Move To (Center of unit move 1 2 3 4 <gen>)

that was for player 1. basacly the same stuff for player 2, andso on. now player one and to units both move to um1,2 then um 2,, then turn around and go back. then theres a huge clog..... yeah. please help.....

ps, sry about then thread name
 
In the creation one it creates a unit for every unit in a region, if theres no units then it will make 0 units. Is this spawning for a TD or something else
 
no, its for a hero arena. most of those spawn units for each team? well, so you have a human I (town hall) human II (keep) and huan III (castle). if it a castle, griffen riders, ton hall, foot men, keep, knights, get the picture. whn ou upgrade your human thing, you get better units. p1 start location is a rect, not the stat location. so it creates the unit, then (for p1 and p2)sends them off to um1,2. then for p1, um1, then um1,2,3,4.they both go to um1,2 the um2, hen urn around and go back or stop. ill ge a screen shot later.
 
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