Wandering Creeps

Epic of Bones

New Member
Joined
Sep 16, 2004
Messages
2
Reaction score
0
Just wondering about the best way to do this. I've tried several things already, including periodic events which select every unit of a type and gives a petrol order within a region. I quickly realized that this severely lags, and then freezes up the game in just a few minutes (memory leak, I guess?). And the wander abilty seems to make creeps very timid, plus it doesn't realy give much wandering area. So I'm looking for reliable alternitives. Any ideas? Really apreaciate it.
 

Darimus

BattleForums Addict
Joined
Oct 2, 2003
Messages
681
Reaction score
0
Website
www.spaceman.vze.com
Try this:

event: Unit - unit issued order with no target

condition: (Order) equal to ()

[the order is blank]

action: unit - issue (ordered unit) to move to a random point (within position of ordered unit)
 

Epic of Bones

New Member
Joined
Sep 16, 2004
Messages
2
Reaction score
0
Thanks for the reply Darimus.

Darimus said:
Try this:

event: Unit - unit issued order with no target

condition: (Order) equal to ()

[the order is blank]

action: unit - issue (ordered unit) to move to a random point (within position of ordered unit)
So... should a periodic event issue an order with no target to the creep? If so, why not just make a periodic event to issue the move order? Thus doing it all with one trigger.

This is my first big project with triggers, so sorry for my trigger-illiterate-ness. I just don't quite get how to use the trigger you posted. Also, why is the order left blank?
 

Azarel

New Member
Joined
Feb 20, 2005
Messages
1
Reaction score
0
Darimus, I just want to say how great it is to have someone like you help others out. Thanks a bunch!
 

NewPosts

New threads

Top