This is perhaps one of the most complex effects I have created. The basic idea is that units in an area "scatter" or move to a random location. There are two effects. One of them, "Random in Area", will have each unit move to their own random location, within the area you specify. The other one, "From Original Location", will have each unit move in a random direction from their OWN location.
The spot chosen is random within the area, or at the edge of the area - the effect is very customizable.
What am I talking about?
The units in the following picture all started out near the titan. In a single effect, "Scatter - Random in Area", with the Edge Only enabled, the units are forced to the edge of the area's radius - each one choosing its own spot.
Try doing that with any effects you have prior to this. - From... - Define a single player to scatter from or have it convert from ALL players (not including the player being converted to obviously). - Scatter Radius: How far units will go either from - themselves, in "From Original Location" - or the Target, in "Random in Area". - Edges Only: This will set it to only fill the perimeter, basically forcing the unit to go exactly to the edge of the radius. [This message has been edited by pftq (edited 01-25-2007 @ 00:20 AM).]
- Unit Type ID - Number that is the id of the protounit or class (AbstractInfantry, Building...) you want. IT IS RECOMMENDED YOU DEFINE THIS. Otherwise the trigger will blindly loop through every unit type in the game, not knowing what to look for specifically (even if you want ALL unit types, use the CLASS ID for "All"). DOWNLOAD THE ID VIEWER EFFECT TO FIND ANY ID YOU WANT. Not defining works but it uses a LOT of memory - if you do use it, do NOT loop without a condition.
- The locations chosen are random - the same location may be chosen twice.
- AOM/AOT Issue: Cinematic Blocks and similar objects do not return Object Info (use object info tool in editor) and cannot be used as target or center unit. Try Invisible Target or other invisible objects that return object info.
AOE3 Maps: Fort Wars, Castle Blood, AOE3Racer, Cannon Fodder, No Rush Maps, Observer Maps
More AoM/E3 Stuff: Fort Wars Ladder, Castle Blood Ladder, Advanced Triggers Set
<- - ( pq - a pftq production ) - - >