Arma_Fan 10 Posted March 9, 2013 I want however many kills blufor gets to display with hint format ["West Kills: %1"]; ...so I've tried using hint format ["West Kills: %", scoreSide West]; but it only shows a "0" for the count...I was told to have the game update every frame to display everytime they get a kill? Anyone know hows I can do this? D: Share this post Link to post Share on other sites
lifted86 10 Posted March 9, 2013 (edited) You need to keep repeating the hint. The simplest way to update the score is to put it in a loop that never ends, like this. scoreMon.sqf while {true} do // true condition will never change { hint format ["West Kills: %1", scoreSide West]; sleep 5; // wait 5 seconds then repeat the hint }; then add to your init.sqf execVM "scoreMon.sqf"; Edited March 10, 2013 by Lifted86 Typo, how'd i miss that XD Share this post Link to post Share on other sites
mikie boy 18 Posted March 9, 2013 format ["West Kills: %", scoreSide West]; missing a 1 after %? - Share this post Link to post Share on other sites
Arma_Fan 10 Posted March 9, 2013 You need to keep repeating the hint. The simplest way to update the score is to put it in a loop that never ends, like this.scoreMon.sqf while {true} do // true condition will never change { ["West Kills: %", scoreSide West]; sleep 5; // wait 5 seconds then repeat the hint }; then add to your init.sqf execVM "scoreMon.sqf"; Thankyou! What do I do with the init.sqf ...do I add it in a trigger somewhere or something? Share this post Link to post Share on other sites
lifted86 10 Posted March 9, 2013 create a init.sqf in you mission folder and write execVM "scoreMon.sqf"; in it. The init.sqf runs at mission start by itself Share this post Link to post Share on other sites
zooloo75 834 Posted March 10, 2013 (edited) while {true} do // true condition will never change { hint format ["West Kills: %1", scoreSide West]; sleep 5; // wait 5 seconds then repeat the hint }; Noticed an issue with that code, it was missing hint format. Fixed. EDIT: was also missing %1 Edited March 10, 2013 by zooloo75 Share this post Link to post Share on other sites