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.
    [06:02 am]
    Donald -- Samase
    [2026-10-09. : 2:53 am]
    Mr.BurnLiquid -- Symmetry
    Symmetry shouted: I'll check it out this weekend!
    Thanks
    [2026-10-09. : 2:47 am]
    Symmetry -- I'll check it out this weekend!
    [2026-10-09. : 2:40 am]
    Mr.BurnLiquid -- Symmetry
    Symmetry shouted: Another map maker? Damn we really ARE back
    I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
    [2026-10-09. : 2:27 am]
    Symmetry -- Another map maker? Damn we really ARE back
    [2026-10-09. : 1:51 am]
    Mr.BurnLiquid -- Ultraviolet
    Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
    Now that I wanted to change my avatar, the error image is showing up, haha.
    [2026-10-09. : 1:34 am]
    Mr.BurnLiquid -- Ultraviolet
    Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
    Mr.BurnLiquid
    Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
    I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
    [2026-10-09. : 1:33 am]
    Mr.BurnLiquid -- Ultraviolet
    Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
    Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
    [2026-10-09. : 1:31 am]
    Ultraviolet -- Mr.BurnLiquid
    Mr.BurnLiquid shouted: Ultraviolet Is it forbidden to have a large avatar?
    actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
    Please log in to shout.


    Members Online: lil-Inferno