|
you're the man now dawg
|
ok
A) your making it overcomplicated B) your first trigger doesnt work. C) Your third trigger is removing the dark swarm before the location can center on it. try this: Condition: - All Players brings exactly (or at least) 1 'Bullet' to 'p1's place' Action: - Center Location 'P1 Bullet' on 'Bullet' at "P1's place' - Remove 1 'Bullet' at 'P1 Bullet' - Create 1 'Dark Archon' At 'P1 Bullet' - Wait 0 millisecond - Kill exactly 1 'Dark Archon' at 'P1 Bullet' - Preserve Trigger if you experience wait blocks use a death count timer. ![]() ![]() ![]() ![]() ![]() ![]() w00t i made a new sig |
|
Taking StarCraft Map Making to the Limit!
|
Your problem is the constant centering, while it may center once on the unit in question, in the next trigger loop the unit is no longer there, and so it now gets centered to the middle of whatever location you are saying the unit is in, in this case, Anywhere.
|
|
I don't think the dark archon is being created at all. And Falk, the location wouldn't move would it? The location stays where it is even if the thing is taken away and if there's nothing to center on, it wouldn't move. Right? I'm not positive.
![]() ![]() ![]() ![]() ![]() ![]() INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE INSERT SIGNATURE HERE |
|
I paid -54 minerals for THIS?
|
Assuming the bullet is the dark swarm, it is not working because it is not owned by the player that casts it. It's owned the player 12 (neutral).
![]() ![]() ![]() ![]() ![]() ![]() Build-a-Ship Workshop
() )) (CRAYOLA) )) > Quote from O.o: because I've found my form in your forms where It should not be. |
|
I think you can easily fit everything in to one trigger.
Condition: p12 brings at least one Dark Swarm to 'p1's place' Action: Center location 'p1 bullet' on one Dark Swarm owned by p12 at 'p1's place' Create one Dark Archon at 'p1 bullet' for p1 Kill one Dark Archon owned by p1 at 'p1 bullet' Kill one Dark Swarm owned by p12 at 'p1 bullet' preserve trigger Note that if you're using SCMdraft2 standard trigger editor you have to use 'neutral' instead of p12. ![]() ![]() ![]() ![]() ![]() ![]() |
|
Write your own destiny, or else someone will write it for you!
|
Yeah Sin's trigger works just fine, but as Kyles mentioned detect and center swarms for P12.
Then remove the wait and the remove dark archon so you can trace where the archon is being created (just for testing / pinpointing the problem). Most likely where you don't expect it (locations switched?) and because you remove it right after you don't notice it's created at all. Btw. if the swarm is being removed and the next action is create dark archon you can tell for sure that it IS being created (or unplaceable error), the question is just where. ![]() ![]() ![]() ![]() ![]() ![]() ![]() http://sonsofwar.pyrom.net/index.html___0% 100% |
|
I paid -54 minerals for THIS?
|
This trigger should work.
Attachments:
Players: ? Conditions: 'Neutral' brings 'at least' '1' 'Dark Swarm' to' Anywhere' 'Switch 1' is 'Clear' Actions: Center location 'Swarm' on 'Dark Swarm' owned by 'Neutral' 'Set' 'Switch 1' Remove' Dark Swarm' owned by 'Neutral' at Swarm' Create '1' 'Dark Archon' for 'Neutral' at 'Swarm' Kill '1' 'Dark Archon' owned by 'Neutral' at 'Swarm' Clear Switch 1 Preserve Trigger. The reason your trigger wasn't working is because when you centered the location and removed the dark swarm it stopped the rest of the trigger from firing because the conditions are not met because the dark swarm is no longer there. This post was edited 8 times, last edit by KyleIs1337: Aug 22 2008, 11:56 pm.
![]() ![]() ![]() ![]() ![]() ![]() Build-a-Ship Workshop
() )) (CRAYOLA) )) > Quote from O.o: because I've found my form in your forms where It should not be. |
|
you're the man now dawg
|
That's not true...When the conditions of a trigger are met it fires every single action no matter what. Even if the conditions are changed right after the conditions are met.
And why did you pointlessly put a switch in there? I think his problem is that either 1) the 'bullet' unit is not a dark swarm. 2) His locations are wrong. 3) the dark swarm is not being cast in the location 'p1's place' ![]() ![]() ![]() ![]() ![]() ![]() w00t i made a new sig |
|
I paid -54 minerals for THIS?
|
Did you test the test map? Also if you remove the switch from the trigger in the test map and then test it, you will see that it will not work. And after every action it fires it checks previous conditions from all the other triggers and if they are met it runs them. But you can see that my test map works with the switch but doesn't work without it.
![]() ![]() ![]() ![]() ![]() ![]() Build-a-Ship Workshop
() )) (CRAYOLA) )) > Quote from O.o: because I've found my form in your forms where It should not be. |
|
I paid -54 minerals for THIS?
|
It does work, hmm I tried that exact trigger before using the switch...oh wells they both work who cares this topic is solved now
. Also, you don't require that Wait for 0 milliseconds either. This post was edited 1 time, last edit by KyleIs1337: Aug 23 2008, 5:43 am.
![]() ![]() ![]() ![]() ![]() ![]() Build-a-Ship Workshop
() )) (CRAYOLA) )) > Quote from O.o: because I've found my form in your forms where It should not be. |