Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Units not patrolling!
Units not patrolling!
Apr 7 2015, 12:34 am
By: Zoan  

Apr 7 2015, 12:34 am Zoan Post #1

Math + Physics + StarCraft = Zoan

Hey, I'm running into a problem in my game.

I have a vHP system that spawns units in the following way:

1: It sets up a spawn area and a patrol location to which the spawned units are to be spawned at and ordered to patrol to, respectively

2: It detects if one of 120 small inverted locations is being used or not, starting from location 1 and going to location 120

3: When it finds one not in use, it moves that location to the spawn area and quits checking whether or not the other locations are in use

4: It then creates a zombie at a remote location for Player 8 (a computer ally)

5: It moves that zombie to the spawn area

6: It re-centers the small inverted location on the zombie owned by Player 8

7: It gives the zombie owned by Player 8 to Player 6 (a computer enemy)

8: It orders the zombie owned by Player 6 to patrol to the patrol location

And later on in the triggers I have a different set up of that moves a burrowed unit to each of the inverted locations in use and then moves it back, to slow down the zombies. It begins to run for the inverted locations immediately after (i.e. in the same trigger cycle and for every trigger cycle afterwards) the location becomes in use.

Anyway, the problem is that the zombies aren't patrolling when they spawn - they just sit there :(
And in other triggers, like when a car alarm goes off and orders all zombies in a large area around the car to patrol to it, they do move, so I know that they CAN patrol, it's just that they don't when they spawn.

Anyone know why?



\:rip\:ooooo\:wob\:ooooo \:angel\: ooooo\:wob\:ooooo\:rip\:

Apr 7 2015, 2:04 am zsnakezz Post #2



try putting a small wait before the patrol order. They triggers could be procking out of order.



I made the following maps; Hyperion 2, The Undead, The Undead Coop, Realm Rpg beta, and Overlords.

Apr 7 2015, 2:29 am Zoan Post #3

Math + Physics + StarCraft = Zoan

Fixed!

Quote from zsnakezz
try putting a small wait before the patrol order. They triggers could be procking out of order.

Yup, I think that's what was happening. I changed it such that it waits one trigger cycle before giving them to P6 and ordering them to patrol, and now it works perfectly.

Thanks man!



\:rip\:ooooo\:wob\:ooooo \:angel\: ooooo\:wob\:ooooo\:rip\:

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:36 am]
Moose -- Thinking on it more, I vaguely remember it being annoying because it kept repeating some short loop of the Super Mario World theme LMAO
[12:57 am]
Oh_Man -- I thought i remembered an old mario map but i searched super mario starcraft on utube and i couldnt see anything cept UMS
[11:40 pm]
lil-Inferno -- Blizzard forgot about SC so it's okay
[07:04 pm]
Symmetry -- malware maps for everyone
[07:03 pm]
Moose -- probs lmao
[06:57 pm]
Symmetry -- (and will be patched)
[06:56 pm]
Symmetry -- The old stuff would've gotten patched no? this is current
[06:55 pm]
Moose -- Just made? I thought we had that years ago
[05:23 pm]
Oh_Man -- so someone just made super mario in brood war https://www.youtube.com/watch?v=DmrUcKU65oQ
[2026-8-06. : 2:41 am]
Oh_Man -- i used to play TF2 competitive in that clan, and also was PR manager (ie: i wrote all the website posts)
Please log in to shout.


Members Online: MarineElite