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.
[02:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[02:47 am]
Symmetry -- I'll check it out this weekend!
[02:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[02:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[01:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
[01:34 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[01:33 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
[01:31 am]
Ultraviolet -- Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Is it forbidden to have a large avatar?
actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
[12:20 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: https://staredit.net/profile/133367/ dude's avatar is massive
Is it forbidden to have a large avatar?
[12:04 am]
Ultraviolet -- https://staredit.net/profile/133367/ dude's avatar is massive
Please log in to shout.


Members Online: UndeadStar, Ultraviolet