AlbinoRhino
Active member
I am puzzled. I recently added some code to a script. I define some variables...
...and then a little later in the script, after it is possible that those values have changed, I have this bit of code...
...and that bit causes Mafia to give me these messages, the first time the script runs after I have made a change to it...
How do I get rid of those messages without losing my variable names ?
Code:
float ecold = 0.0;
float ehot = 0.0;
float espooky = 0.0;
float estench = 0.0;
float esleaze = 0.0;
...and then a little later in the script, after it is possible that those values have changed, I have this bit of code...
Code:
foreach key in $floats[estench,esleaze,ecold,ehot,espooky]
{
if ( key > 0.0 ) key = .50;
}
...and that bit causes Mafia to give me these messages, the first time the script runs after I have made a change to it...
Changing "estench" to "0.0" would get rid of this message. (rhinolib.ash, line 564)
Changing "esleaze" to "0.0" would get rid of this message. (rhinolib.ash, line 564)
Changing "ecold" to "0.0" would get rid of this message. (rhinolib.ash, line 564)
Changing "ehot" to "0.0" would get rid of this message. (rhinolib.ash, line 564)
Changing "espooky" to "0.0" would get rid of this message. (rhinolib.ash, line 564)
How do I get rid of those messages without losing my variable names ?