Staredit Network

Staredit Network -> UMS Assistance -> Need Help On A Trig
Report, edit, etc...Posted by assassin_498 on 2004-07-30 at 18:51:56
I was just wondering...will this trig make 2 civs:

Conditions:
Current Player kills at least 50 any unit.
Current Player kills at most 100 any unit.

Actions:
Create 1 Terran Civilian at location Anywhere
Report, edit, etc...Posted by Staredit.Net Essence on 2004-07-30 at 19:05:14
that will make one civ i beleive (you have no preservetrigger)

anyway seeing the conditions are at least 50 and at most 100...
at any one point your kill score hits anwyeher between 50 and 100, youll receive one civ, not two.. unless you preserve it -.-
Report, edit, etc...Posted by assassin_498 on 2004-07-30 at 19:09:23
ok...well im making a map based on zergling blood, and i dont wanna have to make like 50 trigs giving out civs every 50 kills...
Report, edit, etc...Posted by Felagund on 2004-07-30 at 19:27:22
Ugghhhh, seeing as I'm still "average" I'll do my best to come up with a way:

Cond: Player x kill score is at least 2500 (50 is zergling, 50x50 = 2500)
Action: Create 1 civ for Player x at Location "Civ Spawner"
Set Kill Score for Player x to 0
preserve trigger

Oh yeah, might I add, make these player specific, cuz if you don't then you'll have like 3 civs spawning at once...

*Edit* I'm not familiar with zergling blood, so I'm not sure if this will work for ya.
Report, edit, etc...Posted by Vindexus on 2004-07-30 at 20:00:35
That would work but you also have to factor in the kills score of the heroes, which would mess this up. Here's what I would do, and i really believe it is the best method.

There is a program that gives you scores for kills, it's called SCTrigger. Get that, then make triggers that give you one custom score every 50 kills of men. Then create a trigger like so

QUOTE
Players
- Human Players

Conditions
- Current Player custom score is at least 1

Actions
- Subtract 1 custom score
- Create 1 civ at hero buying location
- Preserve trigger
Report, edit, etc...Posted by (U)Bolt_Head on 2004-07-30 at 23:48:40
QUOTE(assassin_498 @ Jul 30 2004, 05:51 PM)
I was just wondering...will this trig make 2 civs:

Conditions:
Current Player kills at least 50 any unit.
Current Player kills at most 100 any unit.

Actions:
Create 1 Terran Civilian at location Anywhere

If the trigger is owned by more than one player (such as a force) then it is possable for the trigger to run multiple times, provided that the conditions are true for each player.

Just make sure you create the civ for current player and you will proboly be alright since the conditions are for current player.
Report, edit, etc...Posted by Urmom(U) on 2004-09-02 at 15:46:54
there is a nifty program u can download called "sc trigger" that does all the the cash to kills triggers happy.gif
Report, edit, etc...Posted by LegacyWeapon on 2004-09-02 at 16:42:11
Felagund already explained it...

Condition:
Current player's kill score is at least 2500
Action:
Set current player's kill score to subtract 2500
Create 1 civ at "location" for current player
Preserve Trigger
Report, edit, etc...Posted by Psycho]aD[ on 2004-09-11 at 14:12:01
just 1 civ.. but if u want it in a certain spot specify location

ADDITION: just 1 civ.. but if u want it in a certain spot specify location just dont preserve trigger
Report, edit, etc...Posted by Ninja)be( on 2004-09-25 at 16:39:38
instead of saying it to create 1 civ make it create 2 and that will work

I AM A GENIUS! or am i a genies ass
Report, edit, etc...Posted by DT_Battlekruser on 2004-09-25 at 19:26:55
You are a genies ass. Stop reviving week+ old topics without giving any useful information.
Report, edit, etc...Posted by Mini Moose 2707 on 2004-09-25 at 19:30:34
I second DT's motion.

ยป Topic Locked
Next Page (1)