Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Give Disabled Bunkerz
Give Disabled Bunkerz
Mar 22 2008, 6:48 pm
By: ZzEzZ  

Mar 22 2008, 6:48 pm ZzEzZ Post #1



Is it possible to give disabled bunkers away to another player? Bcuz if so, can sum1 plz point out what is wrong with my trigger >.< (I really feel slow 4 asking this lol, but i cant figure out why this wont work)

BG First:
ok there are 8 preplaced bunkers for player 1 (a computer), and 4 ghosts near each bunker... At the beginning of the game, the ghosts execute the AI script "enter closest bunker at location" and that works fine...
I ultimately want to cloak all 8 bunkers after the units get loaded into them.

cloaking trigger:

----CONDITIONS
*Elapsed time is at least 10 game seconds
----ACTIONS
*Center location 'X' on Bunker at Anywhere owned by Player 1
*Disable Doodad State for Bunker at 'X' for Player1
*Give all Bunker owned by Player1 at 'X' to Foes
*[the above 3 actions, repeated 6 more times]
*Center location 'X' on Bunker at Anywhere owned by Player 1
*Disable Doodad State for Bunker at 'X' for Player1
*Give all Bunker owned by Foes at Anywhere to Player1

ok, that trigger... only cloaks 1 bunker, the first 1 (the bottom left most bunker... u know, cuz thats the one SC sees first)
and ive tried a bunch of crap... well not a bunch... but i have tried sum stuff, and this is getting weird... it should work >.< so can ne 1 tell me why only the first bunker iz getting cloaked? is it bcuz i have to give "all [any unit]" at 'X' because u cant just give the bunker, but the units inside also? *goes 2 try that*



None.

Mar 22 2008, 10:26 pm NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

The disable doodad state action only works for 1 bunker at a time and always the leftmost.
You will have to give the bunker after disabling it, then disable the next. It will target the next bunker because the player you specified doesn't own the 1st bunker anymore.
You will have to repeat that as many times as bunkers there are.
And try to avoid giving to Foes. I can't predict what will happen. Use a specific player instead.




Mar 23 2008, 12:01 am Falkoner Post #3



He has it set up properly, it's just his give action that seems to be messing up, do like Nude said and try switching out Foes for something else.



None.

Mar 23 2008, 10:28 am NudeRaider Post #4

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

His solution doesn't work because he is giving ALL bunkers instead of 1 at a time (even if foes would work).

And btw. yes, the units inside the bunkers change owner too.




Mar 23 2008, 1:52 pm Falkoner Post #5



Yeah, but he's only giving the ones at the location he has centered on them, so unless his location size is too big, it shouldn't be a problem.



None.

Mar 24 2008, 12:21 am ZzEzZ Post #6



yea, the location is small... only on 1 bunker at a time...

and changing it from "foes" to a certain player work'd perfectly... thx guys



None.

Mar 25 2008, 8:31 am (U)Bolt_Head Post #7



I'm rusty on my triggers no doubt.

I don't think you would need the location at all. I think if you just give one bunker away each time then they will be selected in the same priority that the bunkers are being disabled.

Like they said before giving to 'foes' is a no-no But the other way should be fine. At that point all the bunkers except one are given to the computer and then all given back to the player. My question is if the bunkers are pre-placed why is it you have them owned by the human player in the first place?
(does the load bunker AI not work for computers? I forget)



None.

Mar 26 2008, 12:02 am Falkoner Post #8



Well, it seems he needs them to be owned by the player, then he uses that to transfer them over to another player, then gives them all back, which wouldn't work without starting with another player.



None.

Mar 28 2008, 5:48 am ZzEzZ Post #9



yea i could probably do the whole thing just using the anywhere location but i did the centered location thing just in case i want to change it a little later... since i already have the location, itd be easy

and yea, the player specific trigger worked and falk is right... they need to be preplaced for that player so they can all be given away after being disabled, then given back



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
Please log in to shout.


Members Online: Roy, Oh_Man