• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Patrolling Question

Status
Not open for further replies.
Level 6
Joined
Feb 18, 2010
Messages
153
this is a inquiry.

i have units patrolling on the map but only half of them are working.

is there a limit on how many patrollers

and how i fix it so they all patrol not just half
 
Level 13
Joined
Feb 18, 2009
Messages
1,381
iown_azz, why use map intialization? That happens WHILE loading! You should use
Time - Elapsed time is (yourtime)
Around 1 sec or so.
But see how you ALSO could patrol :
  • Trigger 001 mover
  • Event : A unit enters <Region1>
  • Conditions : Triggering unit is equal to YourUnit
  • Actions : Trigger : Turn on (This trigger)
  • Order (Triggering unit) to (attack) to <Region2>
And then back again :
  • Event : A unit enters <Region2>
  • Conditions : Triggering unit is equal to YourUnit
  • Actions : Trigger - Turn on (this trigger)
  • Order (Triggering unit) to (attack) to <Region1>
That should work :)
 
Level 8
Joined
Jun 16, 2008
Messages
333
But see how you ALSO could patrol :
Trigger 001 mover
Event : A unit enters <Region1>
Conditions : Triggering unit is equal to YourUnit
Actions : Trigger : Turn on (This trigger)
Order (Triggering unit) to (attack) to <Region2>
And then back again :
Event : A unit enters <Region2>
Conditions : Triggering unit is equal to YourUnit
Actions : Trigger - Turn on (this trigger)
Order (Triggering unit) to (attack) to <Region1>

That should work :)


That is to much triggering for a lot of patrollers.
 
Level 13
Joined
Feb 18, 2009
Messages
1,381
It is quite simple?
And besides "Map intialization" will lagg more.
And btw. i am not even sure the "Patrol" works as it should.
 
Level 8
Joined
Jun 16, 2008
Messages
333
It is quite simple?
And besides "Map intialization" will lagg more.
And btw. i am not even sure the "Patrol" works as it should.

Not really and the "patrol Should work just fine if you do

  • Action - unit peasant000<gen> to patrol to (center of [region000])
  • action - unit peasant001<gen> to patrol to (center of [region001])
 
Level 13
Joined
Feb 18, 2009
Messages
1,381
dude, you may not know, but i am not at home right now, so i can't try it out.
 
Status
Not open for further replies.
Top