SkaceKamen / random-infantry-skirmish

RIS mission for Arma 3
14 stars 4 forks source link

AI Vehicle support cost multiplier only takes integers #123

Open tiniodfluflu opened 4 months ago

tiniodfluflu commented 4 months ago

Describe the bug The AI support vehicle cost modifier appears to be defaulted to 0.75, but if you touch it at any point then it remains an integer forever after with no way to change it. Likely due to being indicated as a type="number" in options-menu.hpp

        class RSTF_AI_VEHICLE_SUPPORT_COST_MULTIPLIER {
            title="AI vehicle support price multiplier";
            description="Vehicle cost multiplier applied when player buys vehicle as AI support";
            **type="number";**
            disabled="!RSTF_MONEY_ENABLED || !RSTF_ENABLE_AI_SUPPORT_VEHICLES";
            ingame=1;
        };

Details All maps, no mods

arma3.rpt Not a crash

Screenshots n/a

Additional context