For a more general case, like Fuzzy said, have two triggers. The first fires when a certain event comes to pass and its only action is to set the value of an index in an array (which matches the triggering player) to "1".
Then have a second trigger which periodically (or when triggered by a second event) cycles through the list of players (i.e. picked integer 1 to 4 for four players) and "if array [picked integer] = 1 is true" then execute an action, otherwise it checks the next player in the cycle.
Is that whatcha after?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
For a more general case, like Fuzzy said, have two triggers. The first fires when a certain event comes to pass and its only action is to set the value of an index in an array (which matches the triggering player) to "1".
Then have a second trigger which periodically (or when triggered by a second event) cycles through the list of players (i.e. picked integer 1 to 4 for four players) and "if array [picked integer] = 1 is true" then execute an action, otherwise it checks the next player in the cycle.
Is that whatcha after?