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:59 am]
    NudeRaider -- *is
    [05:17 am]
    NudeRaider -- despite all its flaws the sound design its fantastic
    [10:29 pm]
    Oh_Man -- homeworld 3 = massive disappointment
    [10:05 am]
    Moose -- ya
    [2024-5-14. : 5:23 am]
    zsnakezz -- yes
    [2024-5-12. : 8:51 pm]
    l)ark_ssj9kevin -- Are you excited for Homeworld 3?
    [2024-5-12. : 8:44 pm]
    l)ark_ssj9kevin -- Hi Brusilov
    [2024-5-12. : 4:35 pm]
    O)FaRTy1billion[MM] -- Brusilov
    Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
    my server that was hosting it died
    [2024-5-10. : 8:46 pm]
    NudeRaider -- Brusilov
    Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
    https://armoha.github.io/eud-book/
    [2024-5-10. : 8:36 am]
    Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
    Please log in to shout.


    Members Online: Dffani04