QUOTE(Falkoner @ Jan 17 2007, 11:12 PM)
Pretty cool, could be used if we could find a way to make it less random, I also enjoyed slaughtering marines, until the bugs in the system managed to finally get me trapped and the marines started spawning to far away to reach
Other than that it was cool, and definitely a new concept.
[right][snapback]614969[/snapback][/right]
Bugs we're the reason I didn't want to post that test map. I was going to make a more professional version (may still).
QUOTE(chuiu @ Jan 18 2007, 03:12 PM)
The problem you're encountering when you say its 'random' is because the location is moving to marines that are still alive while you are killing other ones. You can do the exact same thing with these 2 simplified triggers.
CODE
Trigger("Player 1"){
Conditions:
Score("Current Player", Kills, At least, 1);
Bring("Foes", "Terran Marine", "Checking_Location", Exactly, 0);
Actions:
Create Unit("Player 8", "Data Disc", 1, "Checking_Location");
Set Score("Current Player", Set To, 0, Kills);
Preserve Trigger();
Comment("create");
}
Trigger("Player 1"){
Conditions:
Always();
Actions:
Move Location("Current Player", "Jim Raynor (Marine)", "Anywhere", "Attack_Area");
Move Location("Foes", "Terran Marine", "Attack_Area", "Checking_Location");
Preserve Trigger();
Comment("Location");
}
If you always attack the leftmost bottommost unit first you will always create a data disc.
[right][snapback]615116[/snapback][/right]
Wrong.
1) it doesnt always make the disc if you kill the bottom left one
2) it creates it on other marines even when theres another one alive there
3) I have a checking system in place so the marines to the left of the corpse get 'ignored.'
As for conserving the trigger...
This was a mere 5 minute test map that I paid no attention to conserving triggers or making it professional, and as I said before, I never wanted to release that.
It also seems that if you stop, then manually order your unit to attack the enemy, it has more of a chance to make a disc. This also seems to agree with my theory of an animation/trigger loop (still not sure if thats how starcraft works though, and an answer would be appreciated).
If this thread wasn't specific enough or just plain vauge or ununderstandable, tell me; I will have more time over the weekend to fix it up if you want me to...