Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] spawn triggers
[SOLVED] spawn triggers
This topic is locked. You can no longer write replies here.
Mar 16 2010, 12:27 am
By: Seigekiller  

Jul 28 2011, 3:04 am Azrael Post #21



This is how they did it in Quests Open RPG.



Trigger
Players
  • Player 1
  • Player 2
  • Player 3
  • Player 4
  • Player 5
  • Conditions
  • Switch 1 is Cleared
  • Current player brings at least 1 [any unit] to SPAWN AREA
  • Actions
  • Create 2 Hydralisks for Player 7 at Spawn 1
  • Create 3 Zerglings for Player 7 at Spawn 1
  • Create 2 Hydralisks for Player 7 at Spawn 2
  • Create 3 Zerglings for Player 7 at Spawn 2
  • Create 2 Hydralisks for Player 7 at Spawn 3
  • Create 3 Zerglings for Player 7 at Spawn 3
  • Set Switch 1
  • Preserve Trigger

  • Trigger
    Players
  • Player 7
  • Conditions
  • Switch 1 is Set
  • Player 7 brings at most 5 [men] to SPAWN AREA
  • Actions
  • Clear Switch 1
  • Preserve Trigger

  • Trigger
    Players
  • Player 7
  • Conditions
  • Switch 1 is Set
  • Actions
  • Issue order to all [men] owned by Player 7 at Spawn 1: Attack to Spawn 2
  • Issue order to all [men] owned by Player 7 at Spawn 2: Attack to Spawn 3
  • Issue order to all [men] owned by Player 7 at Spawn 3: Attack to Spawn 1
  • Preserve Trigger

  • This gives the illusion of it being spawn-specific, but it actually isn't. If you really want a spawn-specific system which uses 4 spawn locations, you'll need to use 2 computer players and hero units to accomplish it. In some situations you could track the units individually, but Zerglings and Hydralisks move too fast for such a method.

    To keep track of 4 spawns, you'd use something like this.

    Spawn 1: (Player 7) 3 Zerglings, 2 Hydralisks
    Spawn 2: (Player 7) 3 Hero Zerglings, 2 Hero Hydralisks
    Spawn 3: (Player 8) 3 Zerglings, 2 Hydralisks
    Spawn 4: (Player 8) 3 Hero Zerglings, 2 Hero Hydralisks

    Then, for example, you can tell the group from Spawn 3 has died because Player 8 commands 0 Zerglings and 0 Hydralisks.




    Jul 28 2011, 4:04 am Seigekiller Post #22



    thank you very much for taking the time to do this and find it out... but i actually managed to get it on my own and it works fine.



    None.

    Jul 28 2011, 4:08 am Azrael Post #23



    Hey no problem, I'm glad you got it working ^^




    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [05:17 pm]
    Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
    [2026-6-04. : 3:42 am]
    RIVE -- Hellooooo, Nurse
    [2026-6-03. : 4:19 pm]
    NudeRaider -- Hello World!
    [2026-6-01. : 4:03 pm]
    IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
    [2026-5-31. : 10:02 pm]
    Symmetry -- I was really just figuring out how to compile
    [2026-5-31. : 10:02 pm]
    Symmetry -- I didn't make it do anything
    [2026-5-31. : 9:17 pm]
    Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
    [2026-5-31. : 8:29 pm]
    Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
    [2026-5-31. : 8:07 pm]
    Ultraviolet -- Symmetry
    Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
    haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
    [2026-5-31. : 6:47 pm]
    Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
    Please log in to shout.


    Members Online: Ultraviolet, RIVE