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.
[2026-6-23. : 3:29 am]
DarkenedFantasies -- Probably just didn't care. For example, at some point before release, they've updated the graphics of some of the Protoss buildings (Forge, CyberCore, Citadel, Observatory, Arbiter Tribunal), but instead of properly re-rendering them with edited 3D models, they did crappy copy-paste jobs on the rendered graphics.
[2026-6-22. : 8:35 pm]
Ultraviolet -- :wob:
[2026-6-21. : 11:38 pm]
Symmetry -- :wob:
[2026-6-21. : 4:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[2026-6-21. : 4:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[2026-6-21. : 4:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
[2026-6-20. : 6:15 pm]
Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
[2026-6-20. : 3:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
[2026-6-20. : 3:43 pm]
NudeRaider -- Contained nothing new for me. Didn't know all building's behavior, but very much all unit's. Also Terran balance whine - also nothing new :lol:
[2026-6-19. : 9:57 am]
Oh_Man -- makes me wonder if SEN knows anything about the topic
Please log in to shout.


Members Online: Prankenstein