- Joined
- Feb 9, 2008
- Messages
- 63
as the title said...
How can i make "Last Created Units" owned by computer enemies continuously patrol around a point...
Here's my trigger... i copied it directly from warchaser for an event in my map
it's from the monster initialization trigger...
what do you guys think i should do...im a begginer BTW so dont flame me if my idea sucks or something.
Future Thanks..
How can i make "Last Created Units" owned by computer enemies continuously patrol around a point...
Here's my trigger... i copied it directly from warchaser for an event in my map
it's from the monster initialization trigger...
-
Spawn One Monster
- Events
- Conditions
-
Actions
- If (EnableSpawners[(Integer A)] Equal to False) then do (Skip remaining actions) else do (Do nothing)
- Set Frequencies[(Integer A)] = (Frequencies[(Integer A)] - 1)
- If (Frequencies[(Integer A)] Not equal to 0) then do (Skip remaining actions) else do (Do nothing)
- Set Frequencies[(Integer A)] = InitialFrequencies[(Integer A)]
- Unit - Create 1 SpawnTypes[(Integer A)] for Player 12 (Brown) at (Position of MonsterSpawners[(Integer A)]) facing (Random real number between 0.00 and 360.00) degrees
- Unit Group - Add all units of (Last created unit group) to MonsterGroups[(Integer A)]
- Set MonsterOrder = (Last created unit)
- Special Effect - Create a special effect attached to the origin of (Last created unit) using Objects\Spawnmodels\Other\ToonBoom\ToonBoom.mdl
- Trigger - Run Monsters Order <gen> (ignoring conditions)
-
Monsters Order
-
Events
- Time - Every 0.01 seconds of game time
- Conditions
-
Actions
- Unit - Order MonsterOrder to Patrol To ((Position of MonsterSpawners[(Integer A)]) offset by (700.00, 500.00))
-
Events
what do you guys think i should do...im a begginer BTW so dont flame me if my idea sucks or something.
Future Thanks..