Jump to content
Sign in to follow this  
Richard Bruce Cheney

HIGHSCORE table - can this be done?

Recommended Posts

I would like to save the player score in a Highscore Table at the conclusion of the mission. Is this possible? I searched and couldn't find any information relating to saving an array to a text file.

Could saveStatus be used? If so, how would I save and load an array of scores & names?

Thanks!

Share this post


Link to post
Share on other sites

You can log this to a file easily:

arma2server.exe -ranking=public_ranking.txt

Share this post


Link to post
Share on other sites

Thanks, but I need to write custom values, not just record stats. This is also for a single player local multiplayer server. I need to calculate the score based on player score, which of the 18 military ranks achieved and total towns captured.

Is there a way to store this array in a text file?

Share this post


Link to post
Share on other sites

You can log to arma2.rpt with diag_log. ArmA II also has the clipboard copy feature.

Share this post


Link to post
Share on other sites

arma2 needs some more scripting features to interact with outside files.

this would be so we could make Rcon tools, ranking scripts for websites, etc

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×