The constant in question I'm trying to change is in combat_h - a header file, and hence editing it won't allow me to compile the script except by re-compiling a HUGE bunch of scripts. Is it possible to make a script that OVERRIDES the variable on the core script?
So far my script looks like this:
#include "combat_h"
const float SPECIAL_BOSS_DEATHBLOW_THRESHOLD = 0.10; // at this % of health, any meelee attack may trigger the deathblow of special bosses;
void main()
{
}
In combat_h the variable value is 0.04
When trying to compile my module script the error is "duplicate constant declaration". I'm hoping there is a way for my script to OVERRIDE the constant declaration of combat_h.
Please help, any reply would help - even a 'no its not possible' reply would help =(





Retour en haut






