Units will not move from one region to the next

  • Thread starter Thread starter currahee
  • Start date Start date
C

currahee

Guest
Yo, i got a world editor problem. I have the trigger set so that units will spawn in a region and the group that spawned in the region will move into the center of the destination region.
The problem is, only like a few reach the region and the rest are left behind.

If you'd like to see what's going on, i'd be more than willing to send an email with the map attachment.

THanks
 
How many units is it?

The reason I'm asking is because of how the WC3 Unit AI works.

If, when given the "Move" order, the units find themselves unable to move (i.e. they're blocked in by other units) then they'll just stand there. So if you're making a big crowd of units, or a few units in a small space, they're going to get stuck - even if the guys in front get out of the way a split second after the trigger runs.
(I discovered this myself while I was making a cinematic in which an army runs up a very narrow path on a mountain. The path quickly became, shall we say, constipated.)

Remember, when you create a trigger, the actions are executed one after another - almost simultaneously unless you tell it to wait.

One solution would be to stagger your unit creation - i.e., create 3 units every second or so. That way the ones in front are already out of the way when the next bunch gets an order - no waiting. You could even stagger it to wait an imperceptibly small amount of time - say, 0.05 seconds. The only thing you have to make sure of is that there's enough time for the first ones to get moving before the next ones get ordered.

The other obvious one is just to issue the order several times, spaced out by "Wait" commands, like so:
Unit - Pick every unit in (Units In (Creation Region)) and do (Unit Group - Order Units to Move to (Destination Region))
Wait 0.20 seconds
Unit - Pick every unit in (Units In (Creation Region)) and do (Unit Group - Order Units to Move to (Destination Region))
Wait 0.20 secondsUnit - Pick every unit in (Units In (Creation Region)) and do (Unit Group - Order Units to Move to (Destination Region))
Wait 0.20 seconds

Et cetera, until you feel confident they'll all go.

Hope this helps.
 
That worked. Thanks a lot.
It still happens occasionally even with lowered numbers so I guess they'll be comin one at a time really fast :D
Thanks again
 
make a secondary region in between the start and destination.

Event - A unit enters (secondary region)
Condition -
Action - Select units in (spawning region) and order units to attack/move to (destination)
 
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

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top