- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
Suppose I have two regions, A and B, an integer value V, and for each region the following events:
(also assume there is only one player, and regions can border each other but not overlap)
1a) When a player enters region A, set V = 1
1b) When a player leaves region A, set V = -1
2a) When a player enters region B, set V = 2
2b) When a player leaves region B, set V = -1
These events are running continuously and are always turned on.
Now, is it possible for this to happen:
1. A player enters region A (V = 1)
2. A player leaves region A but simultaneously enters region B
Two outcomes:
3a) Player enters region B, then leaves region A (V = -1)
3b) Player leaves region A, then enters region B (V = 2)
Are both outcomes possible? Or is this deterministic?
Suppose I have two regions, A and B, an integer value V, and for each region the following events:
(also assume there is only one player, and regions can border each other but not overlap)
1a) When a player enters region A, set V = 1
1b) When a player leaves region A, set V = -1
2a) When a player enters region B, set V = 2
2b) When a player leaves region B, set V = -1
These events are running continuously and are always turned on.
Now, is it possible for this to happen:
1. A player enters region A (V = 1)
2. A player leaves region A but simultaneously enters region B
Two outcomes:
3a) Player enters region B, then leaves region A (V = -1)
3b) Player leaves region A, then enters region B (V = 2)
Are both outcomes possible? Or is this deterministic?