Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Add Civs Trig Problem Any help would be great
Add Civs Trig Problem Any help would be great
Jan 18 2009, 11:23 pm
By: zerodotscx  

Jan 18 2009, 11:23 pm zerodotscx Post #1



hello im currently working on the first map and any help would be appreciated

im having a major problem with a Create civlian at location command

what im trying to accomplish:

when the location A is reached (by any player in force1) i want it to create a civilian for force1 at location B (that way if u lose all of your units and your ally reaches a checkpoint you still get a new cilian)

but its not creating 1 cilian per person, if theres 5 players it creates 5 civs for each person

5 ppl = 5 civilians everytime an add civ location is reached, so what the hell

the triggers ive tried are:

Force1 - Current player brings At least 1 civilian to location: "add civilian1"
action: Add 1 terran civ at "choose race" for player 1
action: Add 1 terran civ at "choose race" for player 2
action: Add 1 terran civ at "choose race" for player 3
action: Add 1 terran civ at "choose race" for player 4
action: Add 1 terran civ at "choose race" for player 5

and ive always tried:

Force1 - Current player brings At least 1 civilian to location: "add civilian1"
action: Add 1 terran civ at "choose race" for current player

and ive always tried:

Force1 - Current player brings At least 1 civilian to location: "add civilian1"
action: Add 1 terran civ at "choose race" for All Players (this one adds civs even for cpu and nuetrual players :( )

everytime i do one of these triggers instead of getting 1 civ per player all players get 1-5 civs (based on players in game, wierd)

sorry if im confusing you, its just kind of hard to explain

any insight would be appreciated thanks



None.

Jan 18 2009, 11:27 pm BlackWolf99 Post #2



dude who are u putting the triggers on.
if u put a trigger for force 1 or player 1 -5 if they are playable
and the trigger is create a unit. each player that is joined like say theres 5 ppl that joined the game
then those players get 5 each. put that trigger on the computer or somthing. Somone that isnt your ally
like player 8 or force 2 (make sure its not your allies)
or u can preplace the civs anywhere around the map
and once they do the trigger move them. or put 5 there for p8 or somthing and give them to each player

Post has been edited 1 time(s), last time on Jan 18 2009, 11:35 pm by BlackWolf99.



None.

Jan 18 2009, 11:36 pm Biophysicist Post #3



Try this:

Trigger One:
Executes for: Force One
Conditions:
Force One brings at least one Terran Civilian to "add civilian1".
Actions: Create one Terran Civilian at "choose race" for Current Player".

EDIT: Is the trigger preserved?



None.

Jan 18 2009, 11:37 pm BlackWolf99 Post #4



TZ i think that just does the same thing above wat he mentioned
no matter wat if it says create and is on force one or the players then it will create 5 for each or w/e



None.

Jan 19 2009, 12:18 am InsolubleFluff Post #5



I personally do players 1 2 3 4 5 and have appropriate condition and create 1 unit for current player and have no troubles ever...



None.

Jan 19 2009, 1:13 am zerodotscx Post #6



This trigger isnt preserved because i only want 1 civ per person, per checkpoint. :)


theres 5 checkpoints in my map (locations where you recive 1 additional civ) and i want to make it so where if ANYONE reaches that checkpoint EVERYONE gets a new civ

i have the trigger set to:

Force1 -
Condition: Current player brings At least 1 civilian to location: "add civilian1"
action: Add 1 terran civ at "choose race" for current player

when 5 people join the game it makes 5 civ's per person and i only want 1 per person

so what your saying is if i change it to:

Player8 - (check this)
Condition: Current player brings At least 1 civilian to location: "add civilian1"
action: Add 1 terran civ at "choose race" for current player

EDIT:
Thanks alot for the help, problem fixed

Force1

Condition: Force1 brings atleast 1 (anyunit) to location "Addciv1"

Action: Create 1 Civ at location "choose race" for current player
display text "Added 1 Civilian"
comment: Add1

hehe :)

thanks for the help

it actually adds 1 civ per active player at each add civ checkpoint :)

on my map you start out with 1 civ, u can choose race, then choose between 8 units per race

additional civ's are added when you reach certain areas

if all units except 1 are dead, bring that unit to new checkpoint and Everyone gets a new civ for unit

yayyyy

Post has been edited 2 time(s), last time on Jan 19 2009, 4:33 am by NudeRaider. Reason: merged posts



None.

Jan 19 2009, 4:10 am Falkoner Post #7



Quote
TZ i think that just does the same thing above wat he mentioned
no matter wat if it says create and is on force one or the players then it will create 5 for each or w/e

TZ was right the entire time.

The reason why you are having this problem is because before you had a trigger that would do exactly like it says, if a player brought a civilian to the location, all 5 of the civilians would be made, just like your trigger said they would.
I think that you did not actually try the second one, or you tried it a little differently than you said, because from what I can see, that one would work just fine.
The third one was having problems because you create civilians for "All Players"

Now, while you can do the method Shocko said, and just make a separate trigger for each player, that takes much more triggers, and is more annoying to fix if you have a problem with it. The reason why the trigger TZ posted works is because it creates it for "Current Player."

When you check Force 1, that's the same as checking each player in Force 1 individually, and it's like giving a trigger to each player, where in that trigger, rather than Current Player meaning Force 1, it means the player that the trigger is currently running for, as the trigger will run once for each player that is checked, so in your case, while it's one trigger in the editor, in-game it's really split into 5 different triggers.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:15 am]
DarkenedFantasies -- you eat lots of beans
[03:46 am]
IskatuMesk -- how do i get gas
[11:43 pm]
Moose -- you don't
[10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 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
Please log in to shout.


Members Online: Zergy