Staredit Network > Forums > SC2 Assistance > Topic: Differences between Events and Conditions...
Differences between Events and Conditions...
May 8 2010, 11:01 pm
By: Tharuk Zhal Omaenha  

May 8 2010, 11:01 pm Tharuk Zhal Omaenha Post #1



I have a trigger (see screenshot), and I want both events to be taking place at the same time to trigger the action. However, the action occurs when just one have the events have taken place. Clearly, I don't understand events, conditions, and actions very well. Could someone please clarify the difference between events and conditions, and provide me with a solution? Noob question, I know... :L

Attachments:
screenshot.png
Hits: 8 Size: 16.83kb



None.

May 8 2010, 11:48 pm Centreri Post #2

Relatively ancient and inactive

An event is an event that has to happen. A condition is a condition that has to be met while the event happens for the trigger to fire. Basically, you can have it so that the middle button being pushed down is the event and the selection is the condition - that way, if the selection is true while the button is pushed down it'll fire. Otherwise, if the unit being selected is the event and the button being pushed down is the condition, it'll fire if you select the unit while the middle mouse button is pushed down.

My editor isn't starting up and I'm too lazy to restart, so I can't help you with specifics, but this is the difference. Try to find a condition that does either of your two events.



None.

May 9 2010, 6:10 am UnholyUrine Post #3





Try to use Imageshack or w/e next time ^.^



None.

May 9 2010, 7:34 pm Ahli Post #4

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Triggers in sc2 are linking themselves to some game mechanics. Imagine that everything has a list with triggers that are checked, if the mechanic does something (e.g. player presses middle mouse button, or a unit enters a location or a unit is created or a unit attacks or ...).
Then all triggers in the list are checked.

In sc1 every trigger would have the events with running every 2 game seconds and everytime a wait is created.

in short:
Event = when should the trigger be checked?
Conditions = the trigger shall run his actions when the conditions are met.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: mercedesdfrederick