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.
    [2024-5-06. : 5:02 am]
    Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
    [2024-5-06. : 5:02 am]
    Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
    [2024-5-06. : 5:01 am]
    Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
    [2024-5-06. : 3:04 am]
    Ultraviolet -- Vrael
    Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
    With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
    [2024-5-06. : 12:51 am]
    Oh_Man -- definitely EUD
    [2024-5-05. : 9:35 pm]
    Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
    [2024-5-05. : 9:35 pm]
    Vrael -- that is insane
    [2024-5-05. : 9:35 pm]
    Vrael -- damn is that all EUD effects?
    [2024-5-04. : 10:53 pm]
    Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
    [2024-5-04. : 1:05 am]
    Vrael -- I won't stand for people going around saying things like im not a total madman
    Please log in to shout.


    Members Online: HappyEffect