Staredit Network > Forums > SC2 Assistance > Topic: moving marines to bunkers
moving marines to bunkers
Feb 5 2012, 6:06 pm
By: BluGeni  

Feb 5 2012, 6:06 pm BluGeni Post #1



Ok i am very new to this and have been trying to read a lot of tutorials to figure things out but i can not seem to understand how to make a trigger that moves pre spawned marines to a bunker 30 sec into the game. thanks for any help in advance



None.

Feb 5 2012, 6:19 pm Roy Post #2

An artist's depiction of an Extended Unit Death

Since you didn't give much detail, I made some assumptions:
IntoTheBunkerWeGo
      Events
            Timer - Elapsed time is 30.0 Game Time seconds
      Local Variables
            BunkerToEnter = (Random Living unit from (Bunker units in Region_On_Bunker owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount)) <Unit>
            GroupOfMarines = (Marine units in Region_On_Marines owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount) <Unit Group>
      Conditions
      Actions
            Unit - Order all units in GroupOfMarines to (Bunker - Load (Bunker) targeting BunkerToEnter) (Replace Existing Orders)

Basically, you have a region on the bunker you want them to enter and a region on the marines you want to issue the order to as local variables. These can change depending on how you want to implement it in your map.

As for the action itself, you select "Issue Order To Unit Group" for the group of marines, and select "Order Targeting Unit" as the type of order. Select the bunker as the unit to target and select the order as "Load (Bunker)."

Hope this helps!




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[2024-5-05. : 9:35 pm]
Vrael -- that is insane
[2024-5-05. : 9:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
Please log in to shout.


Members Online: NudeRaider, Lost_Angel