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.
    [08:43 am]
    TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
    [2024-5-28. : 5:26 am]
    Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
    [2024-5-28. : 5:25 am]
    Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
    [2024-5-28. : 2:06 am]
    TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
    [2024-5-26. : 7:14 pm]
    Kyradax -- Hi
    [2024-5-26. : 5:05 pm]
    O)FaRTy1billion[MM] -- :wob:
    [2024-5-25. : 9:22 am]
    Zycorax -- :wob:
    [2024-5-23. : 3:50 pm]
    Ultraviolet -- :wob:
    [2024-5-23. : 6:26 am]
    UndeadStar -- :wob:
    [2024-5-22. : 6:10 am]
    Riney -- Somethings never change.
    Please log in to shout.


    Members Online: Roy