Number less than 1
Posted: Tue Feb 23, 2016 12:11 pm
I have a question, how to create usable numeric value for script that is smaller than 1 ?
I made the sky to spin to create moving clouds in Ardennes2coop but its spinning too fast with value "1".
Some parts of the script:
-----
Frame Item1; FRM_FindFrame(Item1,"m_ad1_sky_");
Label spin:
FRM_RotateY(Item1, -360, 1);
goto spin;
-----
0.1 and 1/10 doesnt work, and it doesnt work if used with variable:
Integer nr1=0.1;
FRM_RotateY(Item1, -360, nr1);
Maybe its not possible or this Rotate function does not work with values less than 1...
I made the sky to spin to create moving clouds in Ardennes2coop but its spinning too fast with value "1".
Some parts of the script:
-----
Frame Item1; FRM_FindFrame(Item1,"m_ad1_sky_");
Label spin:
FRM_RotateY(Item1, -360, 1);
goto spin;
-----
0.1 and 1/10 doesnt work, and it doesnt work if used with variable:
Integer nr1=0.1;
FRM_RotateY(Item1, -360, nr1);
Maybe its not possible or this Rotate function does not work with values less than 1...