Staredit Network > Forums > Staredit Network > Topic: Command Center + Comsat Addon
Command Center + Comsat Addon
Feb 6 2024, 11:54 am
By: Tonblader  

Feb 6 2024, 11:54 am Tonblader Post #1



Made with Starcraft Broodwar 1.16.1 - ScmDraft 2.0 (Beta 0.9.10)

Is it possible to change control of the comsat to another player, after using the switch it to another player trick before without removing or killing them? (do I need some kind of nifty upgrade)



Go to these detonators to see the process.

Quote
Trigger("Player 7"){
Conditions:
Deaths("Current Player", "Right Upper Level Door", Exactly, 1);
Switch("P_CC+Comsat1A", Set);
Switch("P1_Building", Set);
Switch("P2_Army", Set);

Actions:
Comment("P7 Right Upper Level Door DC -- 1 \r\nP2 Crea CC Lifted , Remueve CC Lifted \r\nP1 Crea CC ");
Move Unit("All players", "Men", All, "P_CC1A", "P_CC+Comsat1A");
; Give Units to Player("All players", "Player 2", "Terran Comsat Station", All, "P_CC+Comsat1A");
Remove Unit At Location("All players", "Terran Comsat Station", All, "P_CC+Comsat1A");
Create Unit with Properties("Player 2", "Terran Comsat Station", 1, "P_CC+Comsat1A", 2);
Create Unit with Properties("Player 2", "Terran Command Center", 1, "P_CC1A", 1);
Remove Unit At Location("Player 2", "Terran Command Center", All, "P_CC1A");
Create Unit("Player 1", "Terran Command Center", 1, "P_CC1A");
Preserve Trigger();
}

Quote
Trigger("Player 7"){
Conditions:
Deaths("Current Player", "Right Upper Level Door", Exactly, 1);
Switch("P_CC+Comsat1A", Set);
Switch("P2_Building", Set);
Switch("P1_Army", Set);

Actions:
Comment("P7 Right Upper Level Door DC -- 1 \r\nP1 Crea CC Lifted , Remueve CC Lifted \r\nP2 Crea CC ");
Move Unit("All players", "Men", All, "P_CC1A", "P_CC+Comsat1A");
; Give Units to Player("All players", "Player 1", "Terran Comsat Station", All, "P_CC+Comsat1A");
Remove Unit At Location("All players", "Terran Comsat Station", All, "P_CC+Comsat1A");
Create Unit with Properties("Player 1", "Terran Comsat Station", 1, "P_CC+Comsat1A", 2);
Create Unit with Properties("Player 1", "Terran Command Center", 1, "P_CC1A", 1);
Remove Unit At Location("Player 1", "Terran Command Center", All, "P_CC1A");
Create Unit("Player 2", "Terran Command Center", 1, "P_CC1A");
Preserve Trigger();
}

I attach the map for more details.

Attachments:
change_control_4p_v6c.scm
Hits: 0 Size: 94.63kb




Feb 7 2024, 1:45 pm Ultraviolet Post #2



Could you just center a ground only location on the command center and then you could center another 2x2 location on the CC and use EUD location shifting to shift it into the position where the Comsat station would belong and then if you detect the command center is on the ground and the comsat station is in the comsat location then give it to the player?




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[07:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[06:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[03: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
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Roy