Yep, I know that the event exists, but I can't imagine any situation where I would need to be forced to use it.
Since variables can only be changed in the script you can easily spot all places where the variable gets modified.
When there are too many places the variable gets modified you should create an own "SetVariableXY" action. This action should take the new value the variable is set to as a parameter.
Then it should do this:
1. Check if it changed (compare new value to old value) and store that in some local variable.
2. Actually set the variable to the new value given by the parameter.
3. Filter with an If-statement if the variable changed (or reached a certain limit or got bigger/smaller,...)
4. Do the stuff you would do in your trigger.
>>> Yep, I know that the event exists, but I can't imagine any situation where I would need to be forced to use it.
it's more of my personal preference in method of coding.
>>> This action ....
That's an action, not an event
You see, all I want is a trigger to RUN, when a variable BECOMES a certain value because it's so much easier for sequential triggers.
Take for example:
Trigger 1
Event - Map initialization
Action
- create units, bla bla bla
- Run trigger 2
Trigger 2
Event - No event
Action
- create units, bla bla bla
- Run trigger 3
versus
Trigger 1
Event - Map initialization
Action
-create units, bla bla bla,
- Set Round_Timer = Round_Timer + 1
Trigger 2
Event - Round_Timer = 2.00
Action
-create units, bla bla bla
- Set Round_Timer = Round_Timer + 1
As you can see, the latter is much easier to do cuz all I need to do is copy "- Set Round_Timer = Round_Timer + 1" instead of changing which trigger to run (e.g. Run trigger 3/4/5/6..) every single time.
Warcraft 3 editor had this specific EVENT to detect variable change.
Nevermind.... I think i've searched all the events available and it just doesn't exist in sc2.... sigh....
It'll be good practice at least, I did a bunch of practice boards the last few weeks but that's a bit different than actual repair. It's pretty obvious what's going on with those, so it's not very hard to trace the leads, and they aren't designed with faults so
Site is peaking on traffic for the recipes - Sundays are always the big days and we are 200 plus unique visitors an hour right now and it will be like that probably be around 3000 total on the site all day maybe more if Google desires it LOL
Anyway I have a power bench that I don't actually know how to use, but I'm assuming I can take the battery out and power it directly from that to see if any of them turn on.
If you had kids like me that grew up in that era you could just go to your closet and fish out one of the cords from the cord bag. I bet I have everyone of those cord connectors plus some