- Joined
- Nov 10, 2008
- Messages
- 2,023
Okay guys. Im making a small minigame for my map. The trigger below is the spawning trigger. Units should spawn at Trigger6, move to a random point in Trigger9 and then move down and die. But my problem is that they doesnt. They spawn at Trigger6 and then it seems like they are trying to move to center of playable map or just something random, and all of them does. They all move the same way without the trigger affacts them that much. This is my trigger, and i hope you have a solution.
-
Spawning
-
Events
-
Time - Every (Random real number between 3.00 and 3.50) seconds of game time
-
-
Conditions
-
Actions
-
Unit - Create 1 Spider (Mini game) for Player 2 (Blue) at (Center of Trigger6 <gen>) facing 270.00 degrees
-
Set Spawnie_Mini = (Last created unit)
-
Set Pointing_Minii = (Random point in Trigger9 <gen>)
-
Unit - Order Spawnie_Mini to Move To Pointing_Minii
-
Wait 0.50 seconds
-
Set Point_Mini = (Point_Mini offset by 700.00 towards 270.00 degrees)
-
Unit - Order Spawnie_Mini to Move To Point_Mini
-
Custom script: call RemoveLocation(udg_Point_Mini)
-
Custom script: call RemoveLocation(udg_Pointing_Minii)
-
-
Attachments
Last edited: