|
Inside of a Battlecruiser!!
|
Hm I understand your predicament.
Does giving units to players cause in-progress buildings to be given as well? ![]() ![]() ![]() ![]() ![]() ![]() () )) (CRAYOLA) )) >
Jump in the crayon box and copy/paste this into your signature! You must make it a different color tho. ![]() Build-A-Ship Workshop |
|
eight archons burning...
|
erm, i think so... haven't tried it yet, but I thought I've heard that if you give an incomplete to a neutral player, it doesn't complete.. or wait, is that a p9+ thing? i'm confused - -. I'll prolly try it shortly.
![]() ![]() ![]() ![]() ![]() ![]() "If trees could scream, would we be so cavalier about cutting them down? We might, if they screamed all the time, for no good reason." - Jack Handey
|
|
Inside of a Battlecruiser!!
|
Yeah try it out and if it DOESNT give them then you could simply give all "barracks" or whatever all the time to player something or other... Actually that mightn't work. Sorry I'm a little too tired to figure it out right now. I think you could.
Wow it actually recognizes mightn't as a real word. ![]() ![]() ![]() ![]() ![]() ![]() () )) (CRAYOLA) )) >
Jump in the crayon box and copy/paste this into your signature! You must make it a different color tho. ![]() Build-A-Ship Workshop |
|
eight archons burning...
|
It DOES give them (if they're not neutral at least... i want triggers to work for player 8 comp), but I think I might be able to figure it out from here just by splitting the trigger up... I'll edit post the results.
Edit: Okay, I got it to work, tho it still has a bug I have to work out. Here are the triggers, for the heck of it. I once again was mysteriously kept from being online yesterday, so we'll see how that goes. //-----------------------------------------------------------------// Trigger("Players(in Alternate Reality)"){ Conditions: Bring("Current Player", "Zerg Spawning Pool", "Anywhere", At least, 1); Bring("Current Player", "Zerg Spire", "Anywhere", Exactly, 0); Bring("Current Player", "Zerg Greater Spire", "Anywhere", Exactly, 0); Bring("Current Player", "Zerg Hive", "Anywhere", Exactly, 0); Deaths("Current Player", "Zerg Spawning Pool", Exactly, 0); Deaths("Current Player", "Zerg Spire", Exactly, 0); Deaths("Current Player", "Zerg Greater Spire", Exactly, 0); Actions: Set Deaths("Current Player", "Zerg Spawning Pool", Add, 1000); Move Location("Current Player", "Zerg Spawning Pool", "Anywhere", "Medium Size Tech"); Move Location("Current Player", "Zerg Spawning Pool", "Anywhere", "1x1"); Give Units to Player("Current Player", "Player 8", "Zerg Spawning Pool", 1, "Anywhere"); Comment("Spawn = Spire"); Preserve Trigger(); } //-----------------------------------------------------------------// Trigger("Players(in Alternate Reality)"){ Conditions: Bring("Current Player", "Zerg Spawning Pool", "Anywhere", Exactly, 0); Bring("Current Player", "Zerg Spire", "Anywhere", Exactly, 0); Bring("Current Player", "Zerg Greater Spire", "Anywhere", Exactly, 0); Deaths("Current Player", "Zerg Spire", Exactly, 0); Deaths("Current Player", "Zerg Greater Spire", Exactly, 0); Deaths("Current Player", "Zerg Spawning Pool", At least, 1000); Actions: Set Deaths("Current Player", "Zerg Spawning Pool", Subtract, 1000); Give Units to Player("Player 8", "Current Player", "Zerg Spawning Pool", 1, "1x1"); Remove Unit At Location("All players", "Zerg Spawning Pool", 1, "1x1"); ; Kill Unit At Location("All players", "Men", All, "Medium Size Tech"); Remove Unit At Location("All players", "Men", All, "Medium Size Tech"); Create Unit("Current Player", "Zerg Spire", 1, "Medium Size Tech"); Comment("Spawn = Spire"); Preserve Trigger(); } //-----------------------------------------------------------------// Trigger("Players(in Alternate Reality)"){ Conditions: Bring("Current Player", "Zerg Spawning Pool", "Anywhere", At least, 1); Bring("Current Player", "Zerg Spire", "Anywhere", Exactly, 0); Bring("Current Player", "Zerg Greater Spire", "Anywhere", Exactly, 0); Deaths("Current Player", "Zerg Spire", Exactly, 0); Deaths("Current Player", "Zerg Greater Spire", Exactly, 0); Deaths("Current Player", "Zerg Spawning Pool", At least, 1000); Actions: Move Location("Current Player", "Zerg Spawning Pool", "Anywhere", "Medium Size Tech"); Remove Unit At Location("Current Player", "Zerg Spawning Pool", 1, "Medium Size Tech"); ; Kill Unit At Location("All players", "Men", All, "Medium Size Tech"); Remove Unit At Location("All players", "Men", All, "Medium Size Tech"); Create Unit("Current Player", "Zerg Spire", 1, "Medium Size Tech"); Set Deaths("Current Player", "Zerg Spawning Pool", Subtract, 1000); Give Units to Player("Player 8", "Current Player", "Zerg Spawning Pool", 1, "1x1"); Comment("Spawn = Spire"); Preserve Trigger(); } //-----------------------------------------------------------------// Trigger("Players(in Alternate Reality)"){ Conditions: Bring("Current Player", "Zerg Spawning Pool", "Anywhere", At least, 2); Bring("Current Player", "Zerg Spire", "Anywhere", At most, 1); Bring("Current Player", "Zerg Greater Spire", "Anywhere", At most, 1); Actions: Move Location("Current Player", "Zerg Spawning Pool", "Anywhere", "Medium Size Tech"); Remove Unit At Location("Current Player", "Zerg Spawning Pool", 1, "Medium Size Tech"); ; Kill Unit At Location("All players", "Men", All, "Medium Size Tech"); Remove Unit At Location("All players", "Men", All, "Medium Size Tech"); Create Unit("Current Player", "Zerg Spire", 1, "Medium Size Tech"); Comment("Spawn = Spire"); Preserve Trigger(); } //-----------------------------------------------------------------// Trigger("Players(in Alternate Reality)"){ Conditions: Bring("Current Player", "Zerg Spawning Pool", "Anywhere", Exactly, 0); Bring("Current Player", "Zerg Spire", "Anywhere", Exactly, 0); Bring("Current Player", "Zerg Greater Spire", "Anywhere", Exactly, 0); Deaths("Current Player", "Zerg Spawning Pool", At most, 999); Actions: Set Deaths("Current Player", "Zerg Spawning Pool", Set To, 0); Set Deaths("Current Player", "Zerg Spire", Set To, 0); Set Deaths("Current Player", "Zerg Greater Spire", Set To, 0); Comment("Spawn = Spire"); Preserve Trigger(); } Current bug: when you mutate to a greater spire, the mutation causes no complete spire or greater spire to "exist" for the bring condition. I'll have to work on that a while... I may just use a death counter indicator to track if a spire existed and if any have been killed or not; I just haven't had time since I found the bug. Thanks for the help, the give trigger does work fast enough, despite some weird aspect which I now conveniently forget that apparently requires a timer of some kind. Yesterday, my internet was out for 11 hours yay. Go Qwest. Chances are they're working on lines or something, but of course they know nothing about it. This post was edited 1 time, last edit by StrikerX22: Aug 31 2008, 5:22 pm.
![]() ![]() ![]() ![]() ![]() ![]() "If trees could scream, would we be so cavalier about cutting them down? We might, if they screamed all the time, for no good reason." - Jack Handey
|
|
Write your own destiny, or else someone will write it for you!
|
Well I got an idea about what you could do if giving the building has unwanted side affects.
Center on the building, then detect if its there (not in progress). If finished -> do actions If not, use a mobile grid to center a 1x? location right of the building. ? = vertical size of you map (e.g. 1x256 loc). Then check for the building in the 1x? loc. Repeat this process until you reached the right map edge (detectable by a unique unit that is placed on the very right). By copying the mobile grid/detection triggers you can speed up the process. This will still fail, if the buildings are created at about the same x coordinate. ![]() ![]() ![]() ![]() ![]() ![]() ![]() http://sonsofwar.pyrom.net/index.html___0% 100% |
|
eight archons burning...
|
Thanks, but yeah it'd have to always work, or there'd be pretty big exploits. The give trigger seems to work fine though, and I already had a computer player set aside for effects.
I'll keep working on the map and see if I can't get a thread in Map Production. The zerg are kinda fun to play with... terrans are pretty weird, but not a lot to them yet. the protoss I need some ideas > >... Post updated with trigs up there. ![]() ![]() ![]() ![]() ![]() ![]() "If trees could scream, would we be so cavalier about cutting them down? We might, if they screamed all the time, for no good reason." - Jack Handey
|