Hey! I got a problem with quest triggers. When one player takes the quest, the others cant take it /do it. Need to restart the map for another to get it. So the question is, how do i make quests that work in multiplayer?
You need to set the variables for EACH player, right now you are only doing to for ONE player, the easiest way to do this is a loop use Pick Each Player in Player Group
The easiest way to fix your current problem is delete Set Quest Values[1][0][0] and click Quest Values = 0<Integer[4][10][3]> on the left hand side and change it to Quest Values = 1<Integer[4][10][3]>, however this will default EVERY value for that to 1
the only way to make the trigger can fire(activate) again is if Quests[(Owner of (Triggering Unit))][0][0] == 1, and you set that to 0
So, go through all of your triggers and make sure you don't Set Quests[(Owner of (Triggering Unit))][0][0] = 1 again. I recommend putting in debug text messages do let you know which specific triggers are firing.
Also, why are you using Unit Group for Quest Zergling Death for (Owner of (Picked Unit)), when you could just use (Owner of (Killing Unit))
Hey! I got a problem with quest triggers. When one player takes the quest, the others cant take it /do it. Need to restart the map for another to get it. So the question is, how do i make quests that work in multiplayer?
bump
@Zeoxy: Go
could you post the map or an example of the triggers you are using so we can look at them
here
@Zeoxy: Go
does anything happen or nothing after the first person recieves it?
Also, unless you set it in another trigger, Quests Values[(Owner of (Triggering Unit))][0][0] is going to default to 0
EDIT: you are only setting all of the variables for 1 player, Player 1
So you when Player 1 enters the all of the conditions are met but when Player 2 enters Quests Values[2][0][0] is still defaulted to 0
the quests work fine for the first player.
@Zeoxy: Go
You need to set the variables for EACH player, right now you are only doing to for ONE player, the easiest way to do this is a loop use Pick Each Player in Player Group
The easiest way to fix your current problem is delete Set Quest Values[1][0][0] and click Quest Values = 0<Integer[4][10][3]> on the left hand side and change it to Quest Values = 1<Integer[4][10][3]>, however this will default EVERY value for that to 1
Ty! it worked :D
Oh it works for 4 players now (i have 4 on my map) but every time you turn in it retakes it.
@Zeoxy: Go
the only way to make the trigger can fire(activate) again is if Quests[(Owner of (Triggering Unit))][0][0] == 1, and you set that to 0
So, go through all of your triggers and make sure you don't Set Quests[(Owner of (Triggering Unit))][0][0] = 1 again. I recommend putting in debug text messages do let you know which specific triggers are firing.
Also, why are you using Unit Group for Quest Zergling Death for (Owner of (Picked Unit)), when you could just use (Owner of (Killing Unit))