You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And first thing you need to do in your Activate() function is: (Note, this can only be run once)
statCollection:init({
modIdentifier="XXXXXXXXXXXXXXXXXXX", --This would be your modID allocated by GetDotaStatscustomSchema="none" -- the custom schema in use
})
During GameSetup you will be wanting to store all settings defined during that time period, in a key-values fasion.
This function can be called as many times as you like, but only the last call will matter, and needs to be before pregame. Any calls during pregame or later will do nothing.
For round based gamemodes, you can use statCollection:submitRound(args) to communicate to your customSchemas submitRound(args). Just make sure it returns a table roughly looking like: