QUOTE(xtremebob @ Oct 19 2004, 12:10 AM)
And yes I just magically understand switches now

[right][snapback]86492[/snapback][/right]
Uhh yeah your gettin there. . .
Here let me show you a better way to do it.
| Trigger |
| Conditions: |
¤ Current player brings at least 1 men to location A
|
| ¤ Switch 'ore' is clear |
| Actions: |
¤ Add one ore for player 1
|
| ¤ Set Switch 'Ore' |
| Trigger |
| Conditions: |
¤ Current player brings at least 1 men to location B
|
| ¤ Switch 'ore' is clear |
| Actions: |
¤ Add one ore for player 1
|
| ¤ Set Switch 'Ore' |
| Trigger |
| Conditions: |
¤ Current player brings at least 1 men to location A
|
| ¤ Switch 'ore' is Set |
| Actions: |
| ¤ Display Text "You already got ore foo" |
| Trigger |
| Conditions: |
¤ Current player brings at least 1 men to location B
|
| ¤ Switch 'ore' is Set |
| Actions: |
| ¤ Display Text "You already got ore foo" |
Understanding switches kinda has a weird pattern, your at the first step (just learned there purpose).
Generally when people are at your stage they massively overuse switches, like you did above. When you start to learn them better you will realize more purposes for them, better ways to use them and how to use less. Then you will get the the point where you realize how not to use them at all (for example it is likely the accumulate condition can compleatly replace your switch)
With your example the switches do not prevent a person from getting ore from both places. If some one spent there ore after receaving it from location A, then they would receave ore again when they go to location B. If that is what you want then you shouldn't have used switches at all.
I don't know if this was done by accident or not but the way you have it set up someone will only receave the error message if there on the oppset place they were when they got the ore. So if they leave location A then come back to it they won't get a error message. My method doesn' have that issue but instead you might complain that it will start giving you the error message as soon as you get ore and your still standing on the location. However i belive there are better ways to overcome that little obstical to avoid using more than one switch. And since you would have to set up the seperate switches for each player it would be annoying to have to make more than you need too.
Well i hope my babble was actually helpfull to you good luck learning switches.