Alright. I have been having a mind block lately and I can not figure this one out. What I would like is..
If any player selects unit it will start the trigger. It will check what unit they had selected and will then check if ALL the players has done the quest yet. Basicly I tryed an array like...
"questlostdog[1] = 0"
"questlostdog[2] = 0"
(etc untill questlostdog[10])
0 = Have not done it
1 = Currently doing it
2 = Already Completed
Now I could make a huge ammount of If/then/else functions but im sure their is an easyer way that I would like to figure out.
if then else function
if questlostdog[1] = 0 then do <whatever>
if questlostdog[1] = 1 then do <whatever>
if questlostdog[1] = 2 then do <whatever>
if then else function
if questlostdog[2] = 0 then do <whatever>
if questlostdog[2] = 1 then do <whatever>
if questlostdog[2] = 2 then do <whatever>
Doing if then else functions for every player thats 10 in total x3 for each check. Thats 30 if then else functions, which is not not right in my opinion.
Thanks for all your help, I hope you understand my problem.
You may include any other ideas that may be easyer to produce, that would be great.
If any player selects unit it will start the trigger. It will check what unit they had selected and will then check if ALL the players has done the quest yet. Basicly I tryed an array like...
"questlostdog[1] = 0"
"questlostdog[2] = 0"
(etc untill questlostdog[10])
0 = Have not done it
1 = Currently doing it
2 = Already Completed
Now I could make a huge ammount of If/then/else functions but im sure their is an easyer way that I would like to figure out.
if then else function
if questlostdog[1] = 0 then do <whatever>
if questlostdog[1] = 1 then do <whatever>
if questlostdog[1] = 2 then do <whatever>
if then else function
if questlostdog[2] = 0 then do <whatever>
if questlostdog[2] = 1 then do <whatever>
if questlostdog[2] = 2 then do <whatever>
Doing if then else functions for every player thats 10 in total x3 for each check. Thats 30 if then else functions, which is not not right in my opinion.
Thanks for all your help, I hope you understand my problem.
You may include any other ideas that may be easyer to produce, that would be great.