• 0

    posted a message on Create Bunker with Marines inside

    Heya all,

    I don't know if any of you got this already, but here is my trigger for placing bunkers containing marines:

    Events

    Unit - ("Supply Depot" from the Global data table) construction is Completed

    Local Variables

    Conditions

    Actions

    General - Wait for (Conditions), checking every 1.0 Game Time seconds

    Conditions

    (Owner of (Triggering unit)) == 1

    Unit Group - Pick each unit in (Supply Depot units in (Entire map) owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)

    Actions

    Unit - Move Builder (SCV) [48.94, 18.08] instantly to (Center of OnHold) (No Blend)

    Unit - Replace (Picked unit) with a Bunker using New Unit's Default vitals

    Unit - Create 1 Marine for player 1 at (Position of (Last replaced unit)) using default facing (No Options)

    Unit - Order (Last replaced unit) to (Bunker - Load (Bunker) (Last created unit)) (Replace Existing Orders)

    Unit - Create 1 Marine for player 1 at (Position of (Last replaced unit)) using default facing (No Options)

    Unit - Order (Last replaced unit) to (Bunker - Load (Bunker) (Last created unit)) (Replace Existing Orders)

    Unit - Create 1 Marine for player 1 at (Position of (Last replaced unit)) using default facing (No Options)

    Unit - Order (Last replaced unit) to (Bunker - Load (Bunker) (Last created unit)) (Replace Existing Orders)

    Unit - Move Builder (SCV) [48.94, 18.08] instantly to (Position of (Last replaced unit)) (No Blend)

    I need some help to get the upgrades done like in SC 2. If anybody of you could help me on this, would be fantastic.

    Thanks in advance!

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.