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.
    [10:07 pm]
    lil-Inferno -- nah
    [08:36 pm]
    Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
    [05:25 pm]
    NudeRaider -- there he is, right on time! Go UV! :D
    [05:24 pm]
    lil-Inferno -- poopoo
    [05:14 pm]
    UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
    [03:36 pm]
    NudeRaider -- :lol:
    [03:02 am]
    Ultraviolet -- I'm gonna send inf to have sex with their moms
    [03:02 am]
    Ultraviolet -- fuck those motherfuckers
    [2024-5-15. : 11:02 pm]
    NudeRaider -- PSA: ASUS apparently decided their RMA department needs to "become profitable" and for a while now outright tries to scam customers. They were called out on it a year ago, promised to change, but didn't. https://www.youtube.com/watch?v=7pMrssIrKcY so my recommendation: Stop buying ASUS, and if you already have and need something RMA'd, make sure to not let them bully you into paying.
    [2024-5-15. : 3:08 pm]
    Oh_Man -- example of wat u mean?
    Please log in to shout.


    Members Online: 3adriane99100he3, 1avac972rg5