PapaCharlie9 / multi-balancer

BF3 & BF4 multiple mode balancer & unstacker, including SQDM.
9 stars 12 forks source link

Provide hook to enable scramble next round by command #70

Closed PapaCharlie9 closed 10 years ago

PapaCharlie9 commented 10 years ago

Add Only By Command setting, which should hide Only On New Maps and Only On Final Ticket Percentage settings and override them if True. Use [!@#]mb scramble (on|off) as the command. Typing the command with no argument displays whether scramble is on or off for the end of this round.

Add an entry point:

        public void UpdatePluginData(params String[] parms)

        /*
        parms[0]: Name of caller (plugin class)
        parms[1]: Name of the dictionary type: "bool", "double", "int", "string" (not possible to pass object type)
        parms[2]: Key
        parms[3]: Stringification of value
        */

parms[1] = "bool" parms[2] = "SetScrambleByCommand" parms[3] = "True" or "False"