Page 1 of 1

Scripting, math library

Unread postPosted: Wed Jun 01, 2022 2:19 pm
by mohyeh77
Hello everyone, I'm so happy to be one of RW forum members
I have one question, why math.fmod(x,.y) doesn't work in my script is there something wrong was I did, or RW lua doesn't support this function at all.
gResult = math.fmod(gCounter, 5)
I put this statement in Update(interval) Function section

Re: Scripting, math library

Unread postPosted: Thu Jun 02, 2022 6:34 am
by bnsfsubdivision
math.fmod is not supported AFAIK.

Re: Scripting, math library

Unread postPosted: Fri Jun 03, 2022 3:11 am
by mohyeh77
bnsfsubdivision wrote:math.fmod is not supported AFAIK.


I thought that , because I tried many different ways.