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.
    [2026-9-25. : 12:00 am]
    Oh_Man -- he hasnt won a single game so far this is hilarious
    [2026-9-24. : 11:41 pm]
    Oh_Man -- new arty username Rage Against The Machine
    [2026-9-24. : 10:14 pm]
    Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
    [2026-9-24. : 8:12 pm]
    Ultraviolet -- do you even lift bro?
    [2026-9-23. : 5:21 pm]
    NudeRaider -- Oh_Man
    Oh_Man shouted: NudeRaider yeh thts straight up cheating
    the mutas yes, the wraiths probably not. Have you even watched the video? ;)
    [2026-9-23. : 12:56 pm]
    Oh_Man -- NudeRaider
    NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
    yeh thts straight up cheating
    [2026-9-23. : 12:24 pm]
    Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
    [2026-9-23. : 10:09 am]
    NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
    Please log in to shout.


    Members Online: O)FaRTy1billion[MM], DarkenedFantasies