Rudel_chw Posted May 9, 2020 Share Posted May 9, 2020 Hello, On Single Player, the Score is the sum of the points value of each aircraft, ship or vehicle destroyed by the Player. It is reported on the debriefing as "Score": I know how to use the "Results" field, but ... is there a way I can check from within a Script, what is the Player's current "Score"? Thanks a lot for any help with this, Greetings, Eduardo For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600X - 32 GB DDR4 2400 - nVidia GTX1070ti - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar - Oculus Rift CV1 Mobile: iPad Pro 12.9" of 256 GB Link to comment Share on other sites More sharing options...
Pikey Posted May 12, 2020 Share Posted May 12, 2020 Never seen any API's for score. I know each unit has it built into their lua file. Im not sure if even the score is available in the unit description of each. ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING * Link to comment Share on other sites More sharing options...
Rudel_chw Posted May 12, 2020 Author Share Posted May 12, 2020 Never seen any API's for score. I know each unit has it built into their lua file. Im not sure if even the score is available in the unit description of each. :thumbup: Ok, thanks a lot for your experience. I will stick to just using the Results field :) For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600X - 32 GB DDR4 2400 - nVidia GTX1070ti - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar - Oculus Rift CV1 Mobile: iPad Pro 12.9" of 256 GB Link to comment Share on other sites More sharing options...
fargo007 Posted May 14, 2020 Share Posted May 14, 2020 MOOSE has a SCORING class that you could use independently. Have fun. Don't suck. Kill bad guys. https://discord.gg/blacksharkden/ Link to comment Share on other sites More sharing options...
Rudel_chw Posted May 14, 2020 Author Share Posted May 14, 2020 MOOSE has a SCORING class that you could use independently. Yes, I’m currently using the "Results" field (see figure above) to give a score to the player, but the game’s native score measures something different, the points value of all units that the player has destroyed during the mission. I wanted to have access to that value before the mission ends. For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600X - 32 GB DDR4 2400 - nVidia GTX1070ti - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar - Oculus Rift CV1 Mobile: iPad Pro 12.9" of 256 GB Link to comment Share on other sites More sharing options...
fargo007 Posted May 14, 2020 Share Posted May 14, 2020 If you use MOOSE SCORING and assign a value of 1 to a destroyed target you'd probably be quite close. There's no way I know of to access the data you're showing. Have fun. Don't suck. Kill bad guys. https://discord.gg/blacksharkden/ Link to comment Share on other sites More sharing options...
Pikey Posted May 16, 2020 Share Posted May 16, 2020 If you use MOOSE SCORING and assign a value of 1 to a destroyed target you'd probably be quite close. There's no way I know of to access the data you're showing. And to do that, open the lua for each unit, copy the scoring value and put that in the scores or a custom score. But yeah, not sure how to export that page in a nice way how you described. ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING * Link to comment Share on other sites More sharing options...
Recommended Posts