Hello,
I am updating my signals script and I was wondering why when I run tests signals do not flash anymore (they are supposed to in some cases). I think this is the only issues I have. Updating remaining obsoletes methods seemed to have worked so far.
This is the kind of code I use so maybe some lines are obsoletes? I ran tests in performance and compatibility mode.
EDIT: flashing is only working in driver mode, and there is no fading anymore when mesh is switched on/off...
I am updating my signals script and I was wondering why when I run tests signals do not flash anymore (they are supposed to in some cases). I think this is the only issues I have. Updating remaining obsoletes methods seemed to have worked so far.
This is the kind of code I use so maybe some lines are obsoletes? I ran tests in performance and compatibility mode.
Code:
thread void SetSignalcli()
{
float tempID;
tempID = floatID;
//frequence clignotement = 70 / minutes
while(clignotmt and tempID == floatID)
{
SetFXCoronaTexture(n1,corona1);
SetMeshVisible(couleur1, true, 0.3);
SetFXCoronaTexture(n2,corona2);
SetMeshVisible(couleur2, true, 0.3);
SetFXCoronaTexture(n3,corona3);
SetMeshVisible(couleur3, true, 0.3);
Sleep(0.43);
if(! clignotmt or tempID != floatID) break;
SetFXCoronaTexture(n1,null);
SetMeshVisible(couleur1, false, 0.3);
SetFXCoronaTexture(n2,null);
SetMeshVisible(couleur2, false, 0.3);
SetFXCoronaTexture(n3,null);
SetMeshVisible(couleur3, false, 0.3);
Sleep(0.43);
}
}//SetSignalcli
EDIT: flashing is only working in driver mode, and there is no fading anymore when mesh is switched on/off...
Last edited: