HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Move unit?

04-08-2007, 02:34 PM#1
Histenchist
Is it possible to trigger wander or some ability to make a unit move almost all the time? (except when it's attacked)
04-08-2007, 02:47 PM#2
akolyt0r
try the ability 'Awan' (the ability that makes the sheeps, rabbits, frogs, ... walk around)
04-08-2007, 02:52 PM#3
Histenchist
Awan=Wander... :(
04-08-2007, 03:24 PM#4
Alevice
If I get it right, you want to explicitely trigger wandering.

You could issue the unit to move to a point nearby him randomly chosen from a list. Something like:

Trigger:
Trigger
Collapse Events
[...]
Collapse Conditions
[...]
Collapse Actions
Unit - Order Wanderer to Move To ((Position of Wanderer) offset by (Random real number between 10.00 and 256.00) towards (Random angle) degrees)

Please do note that this will leak, and after a time, cause some lag.
04-08-2007, 04:00 PM#5
Histenchist
Yhea, that worked pretty well but i have many units in my map and that has limited function...
So i could use another set of trigger.
But thanks Alevice.
04-09-2007, 03:15 PM#6
c0nnick
Well the tornado is constantly wandering, try finding the ability that makes a tornado move and u will have yur answer
04-09-2007, 05:44 PM#7
moyack
I'd change the order to "attack" in the Alevice's trigger, so if it gets an enemy while walking, the unit will react immediately.

The trigger should be something like this
Trigger:
Trigger
Collapse Events
Periodic event - Every 30.00 seconds
Conditions
Collapse Actions
Collapse Unit group - Pick every unit in <your group> and do..
Unit - Order Picked unit to Move To ((Position of Picked unit) offset by (Random real number between 10.00 and 256.00) towards (Random angle) degrees)

Of course it will leak like hell, but it's up to you to fix that issue.
04-10-2007, 12:13 AM#8
The)TideHunter(
The ability Tornado uses is Tornado Wander, i think its literally the same as Wander
04-10-2007, 05:36 AM#9
Tide-Arc Ephemera
Quote:
Originally Posted by The)TideHunter(
The ability Tornado uses is Tornado Wander, i think its literally the same as Wander

Tornado wander allows units to move through terrain boundaries and is non-stop.
04-10-2007, 04:32 PM#10
maximilianx
um, he wanted wander where it stops wandering when its attacked?

how about..

unit is attacked
attacked unit has ability (wander)
remove (wander) from attacked unit?
04-10-2007, 08:01 PM#11
Panto
I seem to remember that, the more times you add the Wander ability to a unit, the more constantly it wanders.

Seems unlikely but some shmoe had the same problem a long time ago and tried this, and was happy with it