Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: My own spawning problem.
My own spawning problem.
Jan 10 2008, 3:19 am
By: Ryan  

Jan 10 2008, 3:19 am Ryan Post #1



k. I'm making a map.

I have 4 different spawn locations for enemy units. Spawn 1, Spawn 2, Spawn 3, and Spawn 4.
I have 4 different players in my game. Player 1, Player 2, Player 3, Player 4.

I want only Spawn 1 to spawn units when Player 1 is present.
I want only Spawn 2 to spawn units when Player 2 is present.
I want only Spawn 3 to spawn units when Player 3 is present.
I want only Spawn 4 to spawn units when Player 4 is present.

When I test the game by myself as Player 1, all Spawn locations will create units. Even when players 2-4 are not present.

The trigger is:
Trigger
Players

  • Player 7
  • Conditions

  • Player 1 commands at least 1 [men]
  • Elapsed scenario time is at least 120 game seconds
  • Actions

  • Create 20 Devouring One at Spawn 1 for Player 7
  • Wait for 120000 miliseconds
  • Preserve Trigger
  • Comment

  • And so on for Players 2-4.

    Could it be because I have this trigger set for Player 7, and it's determining whether or not Players 1-4 are there? Or something?..

    I need help. Thanks in advance.




    None.

    Jan 10 2008, 3:32 am who Post #2



    make those spawning triggers for players 1-4 separately, so they will only execute if that player is present.
    or have a trigger for players 1-4 that adds 1 death to DC1 for that player at the start of game
    and make those spawning triggers execute only if that player has suffered a death of DC1



    None.

    Jan 10 2008, 4:03 am Ryan Post #3



    Again, another one of my questions answered by Someone. Thank you. =)



    None.

    Jan 10 2008, 9:50 am NudeRaider Post #4

    We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

    The easiest solution is what someone09 said first. Because you only need to give the triggers to P1-P4 and delete the first condition.

    But I wonder... it should work as it is. Do you have another trigger that is owned by a comp that creates units for the specific players 1-4 (instead for Force1)?
    Because that would result in creating units for "ghost players" that are neutral hostile. And it is possible that they are detected by [men] of P1-4.

    I tell you this because you should learn to avoid those ghost player units. The solution is simple: Never use an action like create 1 marine for player 1 and copy it for 4 players. Always use forces or let the players own those triggers and use current player.




    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [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
    [2026-4-13. : 9:37 pm]
    IskatuMesk -- I have never and will never own a phone
    [2026-4-13. : 9:15 pm]
    NudeRaider -- Vrael ranting still is though
    [2026-4-13. : 9:14 pm]
    ClansAreForGays -- anticapitalism isnt edgy anymore
    [2026-4-13. : 3:31 pm]
    Vrael -- it only costs 50% of my post-tax salary for life and in return I get to also become a drone whose sole purpose is CAPITALISM
    [2026-4-13. : 3:30 pm]
    Vrael -- pssht, you're still using a phone? I just record 100% of my life using my ElonBrainChip
    [2026-4-13. : 2:13 pm]
    NudeRaider -- bro I don't go anywhere without my phone to record anything significant
    [2026-4-13. : 1:28 pm]
    Vrael -- Zoan
    Zoan shouted: not if u wer there
    id say even if you were there its tricky, human memory can be very faulty
    Please log in to shout.


    Members Online: raggedmalpracti