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:51 pm]
    Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
    [06:50 pm]
    NudeRaider -- Vrael
    Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
    sounds like moisture control is often a pressing concern in your city
    [06:50 pm]
    Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
    [06:49 pm]
    Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
    [06:48 pm]
    Vrael -- On this Topic, I could definitely use some Introductions.
    [06:48 pm]
    Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
    [06:47 pm]
    Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
    [06:45 pm]
    NudeRaider -- Vrael
    Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
    beats me, but I'd make sure to pick the epitome of excellence and nothing less.
    [06:41 pm]
    Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
    [06:38 pm]
    Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
    Please log in to shout.


    Members Online: Roy