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.
    [04:05 pm]
    NudeRaider -- DarkenedFantasies
    DarkenedFantasies shouted: you eat lots of beans
    :lol:
    [11:30 am]
    NudeRaider -- I would like 3000 minerals, please
    [2026-4-16. : 7:32 pm]
    Zoan -- I got $2000 bonus. I would like 2000 minerals, please
    [2026-4-16. : 4:15 am]
    DarkenedFantasies -- you eat lots of beans
    [2026-4-16. : 3:46 am]
    IskatuMesk -- how do i get gas
    [2026-4-15. : 11:43 pm]
    Moose -- you don't
    [2026-4-15. : 10:06 pm]
    Zoan -- how do i get minerals
    [2026-4-14. : 11:45 pm]
    ClansAreForGays -- Anyone wanna played Skewed StarCraft?
    [2026-4-14. : 12:07 am]
    Vrael -- NudeRaider
    NudeRaider shouted: Vrael ranting still is though
    you're a gentleman and a scholar, thank you
    [2026-4-13. : 10:07 pm]
    NudeRaider -- ya why phone people when you can just write letters
    Please log in to shout.


    Members Online: JohnnyTheWolf