| 09-08-2004, 09:46 PM | #1 |
Ok, here's my problem with my trigger, On my map, I have put down a bunch of Circles of Power all over the map, and what I want to do is have units spawn on the circles of power, so it looks like they're like teleport beacons or something. Anyway, when my trigger is run, no units appear! Here's the trigger: Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Picked unit)) Equal to Circle of Power) and do (Unit - Create 1 (Random level LevelNum creep unit-type) for Player 12 (Brown) at (Position of Picked unit) facing (Random angle) degrees LevelNum is a variable (it starts at 0) which increments by 1 each time the trigger is run (later on I say Set Variable (LevelNum = LevelNum + 1)) and in this way, i spawn first randomly selected level 1, then level 2, then level 3 creeps on top of the Circles of Power. But it's not working! No units are appearing! Help me plz. |
| 09-08-2004, 09:59 PM | #2 |
just make seperate triggers Every (x) amount of time create (x) amount of units at (w/e) region and keep on making those for each beacon _________________________________________________________________ this is much easier and works for me ![]() |
| 09-08-2004, 10:46 PM | #3 |
Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Picked unit)) Equal to Circle of Power) and do (Unit - Create 1 (Random level LevelNum creep unit-type) for Player 12 (Brown) at (Position of Picked unit) facing (Random angle) degrees ![]() |
| 09-08-2004, 10:47 PM | #4 |
use [matching unit] not [picked unit] only where i said. ![]() |
| 09-08-2004, 11:03 PM | #5 |
spam again! |
| 09-09-2004, 07:12 PM | #6 | |
Quote:
Ok the problem with this is that i'd have to use a ludicrious amount of triggers (i've calculated that i have over 80 circles) to do this! And by the way Uknown's method works! THanks Uknown! |
| 09-10-2004, 02:04 AM | #7 | |
Quote:
|
