eliw00d
New Member
- Reaction score
- 3
I tried doing a search, and I'm not sure if I just searched for the wrong keywords or what, but I wasn't able to find much on this subject.
How would I go about multiplayer "proofing" a trigger so that multiple players can be executing the same trigger independently without interfering with each other? I tried using a global boolean array that gets the owner of the triggering unit, but it doesn't seem to work. I even tried a local boolean in the script itself and didn't have any player information in the script.
This is what is happening:
Player 1 uses itemA on itemB, trigger executes
Player 2 uses itemA on itemB, trigger executes for him, but the trigger stops or malfunctions for Player 1
How would I go about multiplayer "proofing" a trigger so that multiple players can be executing the same trigger independently without interfering with each other? I tried using a global boolean array that gets the owner of the triggering unit, but it doesn't seem to work. I even tried a local boolean in the script itself and didn't have any player information in the script.
This is what is happening:
Player 1 uses itemA on itemB, trigger executes
Player 2 uses itemA on itemB, trigger executes for him, but the trigger stops or malfunctions for Player 1