This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
0
Ok im already think about it today. I have some questions, i can make random number from 0 to 360 but can i make it like 0-360 without 91-269 ? Like i need only 0-90 or 270-359
Thx for you answer
Hey, i find a bug, i dont know yet 1.12.1 - mod version 0.15.4 When you use "look" or "looks" its add 180 degrees in your yaw Example $${look(%YAW%,%PITCH%)}$$ - turn you on 180 degrees (but why?) (looks function too)
I tried make save yaw pitch angles for my random look script, but it always turn me in wrong position. Im very sad $${if(rlook); unset(rlook); else; set(rlook); lcase(%YAW%,&syaw); lcase(%PITCH%,&spitch); do; random(#ryaw,360,-360); random(#rpitch,360,-360); look(%#ryaw%,%#rpitch%); while(rlook); looks(%&syaw%,%&spitch%); endif}$$ BUT ITS DONT RETURN ME IN START POSITION CAUSE LOOK FUNCTION ARE BROKE (I need use look twice for return in start pos) $${if(rlook); unset(rlook); else; set(rlook); lcase(%YAW%,&syaw); lcase(%PITCH%,&spitch); do; random(#ryaw,360,-360); random(#rpitch,360,-360); look(%#ryaw%,%#rpitch%); while(rlook); looks(%&syaw%,%&spitch%); looks(%YAW%,%PITCH%); endif}$$ - like that
0
Ok im already think about it today.
I have some questions, i can make random number from 0 to 360 but can i make it like 0-360 without 91-269 ? Like i need only 0-90 or 270-359
Thx for you answer
0
Hey, i find a bug, i dont know yet
1.12.1 - mod version 0.15.4
When you use "look" or "looks" its add 180 degrees in your yaw
Example
$${look(%YAW%,%PITCH%)}$$ - turn you on 180 degrees (but why?) (looks function too)
I tried make save yaw pitch angles for my random look script, but it always turn me in wrong position. Im very sad
$${if(rlook); unset(rlook); else; set(rlook); lcase(%YAW%,&syaw); lcase(%PITCH%,&spitch); do; random(#ryaw,360,-360); random(#rpitch,360,-360); look(%#ryaw%,%#rpitch%); while(rlook); looks(%&syaw%,%&spitch%); endif}$$
BUT ITS DONT RETURN ME IN START POSITION CAUSE LOOK FUNCTION ARE BROKE (I need use look twice for return in start pos)
$${if(rlook); unset(rlook); else; set(rlook); lcase(%YAW%,&syaw); lcase(%PITCH%,&spitch); do; random(#ryaw,360,-360); random(#rpitch,360,-360); look(%#ryaw%,%#rpitch%); while(rlook); looks(%&syaw%,%&spitch%); looks(%YAW%,%PITCH%); endif}$$ - like that