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.
[02:28 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider non-sequitur harder daddy
no shit sherlock. I wanted you explain what you mean with time capsule (hence the question mark!), because obviously what follows makes no sense. For someone so intelligent you can be quite daft at times...
[04:00 am]
Oh_Man -- NudeRaider
NudeRaider shouted: time capsule? you don't talk to 90s kids outside of SEN?
non-sequitur harder daddy
[02:56 am]
Symmetry -- Talk to people? Like in real life?
[2026-9-30. : 3:07 pm]
NudeRaider -- time capsule? you don't talk to 90s kids outside of SEN?
[2026-9-30. : 1:57 pm]
Oh_Man -- SEN is kinda like, a place wher u can be pretty much gauranteed u talking to a millenial, prob born around the early 1990s, its like a time capsule
[2026-9-30. : 1:05 pm]
NudeRaider -- well he is calling himself weirdo...
[2026-9-30. : 3:25 am]
Symmetry -- the best part is that he perfectly summed up SEN's discord
[2026-9-30. : 3:12 am]
Ultraviolet -- WeirdoX4857
WeirdoX4857 shouted: Nigga how you ask is it still going strong when you get a text every 3 miles per hour or something
Joined: Yesterday, 12:08 pm Last Active: Yesterday, 12:14 pm , truly a glorious 6 minutes.
[2026-9-30. : 3:11 am]
Ultraviolet -- :lol:
[2026-9-29. : 2:43 am]
Symmetry -- I'm doing my best, damn it
Please log in to shout.


Members Online: lil-Inferno