Keep up the good work!
begin Floatfloat timerfloat swingTimefloat swingSpeedfloat startAngleset startAngle to GetStartingAngle, xif ( MenuMode == 0 ) set swingTime to 1;set swingSpeed to 30 set timer to ( timer + GetSecondsPassed );rotate up if ( timer < swingTime ) Rotate x,2;rotate down elseif ( timer < (swingTime * 3) ) Rotate x, -2;up again elseif (timer < (swingTime * 4 ) ) Rotate x, 2;reset timer to zero else set timer to 0 SetAngle, x, GetStartingAngle, x endifendifTribunal
begin Floatfloat timerfloat swingTimefloat swingSpeedfloat startAngleset startAngle to GetStartingAngle, xif ( MenuMode == 0 ) set swingTime to 1;set swingSpeed to 30 set timer to ( timer + GetSecondsPassed );rotate up if ( timer < swingTime ) Rotate x,2;rotate down elseif ( timer < (swingTime * 3) ) Rotate x, -2;up again elseif (timer < (swingTime * 4 ) ) Rotate x, 2;reset timer to zero else set timer to 0 ;SetAngle, x, GetStartingAngle, x endifendifend FloatBloodmoon
begin Floatfloat timerfloat swingTimefloat swingSpeedfloat startAngle;set startAngle to GetStartingAngle, xif ( MenuMode == 0 ) set swingTime to 1;set swingSpeed to 30 set timer to ( timer + GetSecondsPassed );rotate up if ( timer < swingTime ) Rotate x,2;rotate down elseif ( timer < (swingTime * 3) ) Rotate x, -2;up again elseif (timer < (swingTime * 4 ) ) Rotate x, 2;reset timer to zero else set timer to 0 SetAtStart endifendifend FloatGondola fix
begin Floatfloat timerfloat swingTimefloat swingSpeedfloat startAngleset startAngle to GetStartingAngle, xif ( MenuMode == 0 ) set swingTime to 1;set swingSpeed to 30 set timer to ( timer + GetSecondsPassed );rotate up if ( timer < swingTime ) Rotate x,2;rotate down elseif ( timer < (swingTime * 3) ) Rotate x, -2;up again elseif (timer < (swingTime * 4 ) ) Rotate x, 2;reset timer to zero else set timer to 0 ;SetAngle, x, GetStartingAngle, x endifendifend FloatSo the differences seem to be in whether the "set startAngle to GetStartingAngle, x" line is used, and in the ELSE statement. But none of them agree
So the differences seem to be in whether the "set startAngle to GetStartingAngle, x" line is used, and in the ELSE statement. But none of them agree
The version of the Float script in BloodmoonQuickFixes-LD.esp matches that in Bloodmoon.
begin Gondola_Floatfloat timerfloat swingTimefloat swingSpeedfloat startAngleset startAngle to GetStartingAngle, x[b]if ( cellchanged == 1 ) setatstartendif[/b]if ( MenuMode == 0 ) set swingTime to 1;set swingSpeed to 30 set timer to ( timer + GetSecondsPassed );rotate up if ( timer < swingTime ) Rotate x,2;rotate down elseif ( timer < (swingTime * 3) ) Rotate x, -2;up again elseif (timer < (swingTime * 4 ) ) Rotate x, 2;reset timer to zero else set timer to 0 ;SetAngle, x, GetStartingAngle, x endifendifend Gondola_Float