HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Move without a target?

03-15-2003, 04:00 AM#1
Athifos
Related to my last post. Can I have a target just move in a direction, not headed toward a unit or region? Like north, east, shout and west.
03-15-2003, 04:34 AM#2
Ari
No. Wc3 doesn't work that way. At its most basic level, everything works with manipulation of points.
03-15-2003, 04:37 AM#3
Guest
Sure you can. Posion of [selected unit] polor offset by [0,90,180,270]

There you go. Each of those numbers is a direction, but i dont know em.
03-15-2003, 05:17 AM#4
Myster Mystery
Well, for north, south, east, and west, you would use regular offset, and the degrees would be 90, 270, 0, and 180 respectively. Polar offset considers the unit's facing angle, and I believe 0 is the front.
03-15-2003, 03:45 PM#5
Athifos
I'll try it. Thanks :D
It sounds like it would work but i dont know how to have every unit owned by a character to move that way. Maybe i could put them in a group, but I didnt find anything but using "Random player from group".
03-15-2003, 05:55 PM#6
Guest
For each unit in group, do action. If you need the unit to do lots of things, make the action Run Trigger - UnitDoThis

Where UnitDoThis is a trigger that has all your actions. Use the event response "Triggering unit" to refer to the unit that needs to do all the actions.
03-15-2003, 07:51 PM#7
Athifos
Thanks! It works now. :foot: