Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Triggers Conditions Help
Triggers Conditions Help
Oct 1 2008, 2:13 am
By: criyton  

Oct 1 2008, 2:13 am criyton Post #1



Im making a UMS map and i need a trigger condition to this effect:

This is an example:: If Player 1 commands exactly 1 Terran Marine at location XYZ.

I only see commands with no location or commands THE most/least at location.

I am using SCMDraft 2 and it allows custom triggers. But i have no clue how to write a trigger. Ill be researching it while waiting for a reply to this topic.



None.

Oct 1 2008, 2:44 am Falkoner Post #2



Brings is the condition used when saying at a location, Commands is the equivilent of saying Brings to Anywhere. The "custom triggers" you speak of are only a text form of normal triggers, the triggers you can use are already pre-defined, you can't create your own.



None.

Oct 1 2008, 3:55 am criyton Post #3



OK let me try to make this a little clearer. First off some simple abbreviations.
CU= Character Unit
P(#)= Player 1-5 example P1= Player 1
Class Change= the character changes from one of the 6 CU's to a different CU
Level up= Change unit hp% to blah blah blah and all that good stuff. A trigger u dont need to know the specifics of.


There are 5 possible players and 6 CU's to choose from. I want players to be able to change the CU's any time they like, yet save the progress in leveling for each CU.

Now i have a 30 secluded locations that u CANT bring a unit to. Each Player has 1 of each possible CU on the locations. Example: Location P1 CU 1 has the first unit (CU1) of the 6 CU's u can choose from, and it belongs to player 1. Location 2 has the second unit(CU2) of the 6 CU's you can choose from, and it also belongs to player 1. Location 7 has the first unit of the 6 CU's you can choose from, and it belongs to player 2. Now at the start when the player brings the civilian to the CU 1 beacon, the unit corresponding to what he chose is moved to town. Example if player 1 brings exactly 1 civilian to location CU 1 then move 1 CU1 at location P1 CU 1 to location Town Spawn. Move Civilian to Location Civilian Holding. Now if player 1 brings exactly 1 CU1 to Academy (Class Change), move 1 CU1 for player 1 at any location to location P1 CU 1. Move Civilian to Location Choose CU. If player 1 brings exactly 1 Civilian to location CU 2 move 1 CU2 at location P1 CU 2 to location Town spawn.

Now that ive made a semi clear / semi confusing situation leading me up to my problem. Here is why i need a trigger that states: commands exactly 1 unit at location.....

Now for leveing CU2... if player 1 (still using CU2) kills exactly 10 men then Level Up player 1 CU2.
Now on a SEPERATE trigger for leveling CU1... If player 1 kills exactly 10 men then level up CU1.
And the problem is presented when player 1 acheives the trigger with CU2: if player 1 kills exactly 10 men then Level Up CU1
This defeats the idea of seperate character levels.

They share the same trigger because i cant specify where the units are.
If i had a trigger that said: If player 1 commands exactly 0 unit at location CU 2 AND player 1 kills exactly 10 men, then level up CU 2.
It would them work because it would be true that player 1 CU2 is not at location CU 2 (thus it has been chose to be played at that moment) and would level up withought leveling player 1's CU1.



None.

Oct 1 2008, 4:03 am criyton Post #4



however i may have jsut solved my own problem using game area and brings unit to game area location :P



None.

Oct 1 2008, 6:01 am rockz Post #5

ᴄʜᴇᴇsᴇ ɪᴛ!

http://www.staredit.net/wiki/Selection_Systems
Here's an article on selection systems. You'll want to use one of these to change characters. It's most intuitive to use the location based selection system, and that's probably what you are using. Could you describe, in general terms, how you are going to switch characters?

Also, you mention 30 locations. Does that mean you have five CU1s in a full game, or do the players share CU1?



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:24 pm]
Vrael -- NudeRaider
NudeRaider shouted: Vrael boy, if you're not careful I'll moderate your sorry ass too!
gotta catch me first! skeet skeet skeet
[2026-4-26. : 1:58 pm]
lil-Inferno -- ya
[2026-4-25. : 11:50 pm]
JamaL -- Glad to see SEN will never die. Kudos to whoever is paying the hosting fees these days!
[2026-4-25. : 3:37 pm]
NudeRaider -- (-.-,)
[2026-4-25. : 3:35 pm]
Zoan -- ;o I thought that was a monkey emote
[2026-4-25. : 3:34 pm]
Zoan -- :mods:
[2026-4-25. : 3:34 pm]
Zoan -- :mods"
[2026-4-25. : 3:20 pm]
NudeRaider -- Vrael
Vrael shouted: moderation? on SEN? in 2026? completely localized in anoeth47's topic? at this time of year?
boy, if you're not careful I'll moderate your sorry ass too!
[2026-4-25. : 3:06 pm]
RIVE -- Yyyes. Don't you see it?
[2026-4-25. : 2:11 pm]
Vrael -- moderation? on SEN? in 2026? completely localized in anoeth47's topic? at this time of year?
Please log in to shout.


Members Online: Revenant, IskatuMesk