I was helping someone figure out an issue they were having with their triggers and after much playing, it turns out that the triggers wouldn't run because they all were triggered by the same key press, even though the conditions would immediately narrow it down to only one. I crammed all of their triggers into an if/then chain (since they wanted a single button to swap through multiple units) and it solved their problem.
Just wanted to put the word out there that this might cause issues.
Yea, I didn't think that should could a problem, but for some reason it was. I have a blank map set up with only these triggers. Right now I have character 1 set to 1, number 2 on 2, and 3 on a key press of 3. You have to go in order from 1 to 3 and then back to 1. If the only thing I change is the key press of all 3 triggers to 4, they all stop working.
yea you can't really use 'for each player integer (i)' functions or 'pick each player with' when you do keybind triggers on multiplayer. You either have to do the if/then function you mentioned or, just do what i do and make the keybind triggers player specific (having to copy them for each player)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I was helping someone figure out an issue they were having with their triggers and after much playing, it turns out that the triggers wouldn't run because they all were triggered by the same key press, even though the conditions would immediately narrow it down to only one. I crammed all of their triggers into an if/then chain (since they wanted a single button to swap through multiple units) and it solved their problem.
Just wanted to put the word out there that this might cause issues.
I dont think that should cause a problem...weird..Thanks for the post, though.
Yea, I didn't think that should could a problem, but for some reason it was. I have a blank map set up with only these triggers. Right now I have character 1 set to 1, number 2 on 2, and 3 on a key press of 3. You have to go in order from 1 to 3 and then back to 1. If the only thing I change is the key press of all 3 triggers to 4, they all stop working.
@Mienk: Go
yea you can't really use 'for each player integer (i)' functions or 'pick each player with' when you do keybind triggers on multiplayer. You either have to do the if/then function you mentioned or, just do what i do and make the keybind triggers player specific (having to copy them for each player)