fortun 14 Posted June 28, 2014 Hello, doing some mission bug testing. However, is it any command so i can do the same as If (task1complete) then {hint "blabla"} but for another player and not me? Like Player2 If (task1complete) then {hint "blabla"} Share this post Link to post Share on other sites
Horner 13 Posted June 28, 2014 This should work for you. https://community.bistudio.com/wiki/BIS_fnc_MP Share this post Link to post Share on other sites
fortun 14 Posted June 29, 2014 (edited) How would i do it? To go in to the problem a bit more. I have a security check in my mission. From beginning, i have Check1 = true Check2 = true Check3 = true And for every task the players make, it sets it to Check1/2/3 = false If any is of the "Checks" it true in the end of mission, in a trigger it will then kill the players if they has skipped the task/checks.. It seems to work great, unless they stop and use "Save & Exit game" and then resumes it. Then the Checks that have been set to false (to not kill players), will only be made for the Host of the server, not for the other player (Player2. Which then bugs the mission as it kills everyone in the end because Player2 didn't sync the "Checks", only the host. Edited June 29, 2014 by FortuN Share this post Link to post Share on other sites
Horner 13 Posted June 29, 2014 That's because the check variables are global variables and global variables are client side. Try using publicVariable. Share this post Link to post Share on other sites
roguetrooper 2 Posted June 29, 2014 if ((player == player2) and (task1complete)) then { hint "shows up only for player2 when task1 is completed } Share this post Link to post Share on other sites
fortun 14 Posted June 29, 2014 Thanks guys. However, when using publicvariables, it seems it doesen't work. If i use publicvariable "task1complete" and then after if (task1complete) then {hint "works"}; I don't get anything. Share this post Link to post Share on other sites
Horner 13 Posted June 29, 2014 You have to use publicVariable after you change the value. Share this post Link to post Share on other sites