HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger Question

08-01-2003, 06:48 AM#1
Valoris
I want to make a trigger that says move unit to closest region (region being 1 of 2 different regions)....
How would i accomplish this?

-Val
08-01-2003, 02:48 PM#2
Valoris
anyone?
08-01-2003, 02:54 PM#3
Vexorian
Actions
If then else (Multiple)
--Conditions:
-----Real comparision ((Distance betwen Position of (unit) and center of region1) greater than (Distance betwen position of (unit) and center of region2))
--Then - Actions
-----Order (unit) to move to center of Region2
--Else - Actions
-----Order (unit) to move to center of Region1
08-01-2003, 11:54 PM#4
Valoris
Thanks. Sounds Easy!