background: i'm using community lighting mz, and i am looking for an equation that will set a minutes and hours variable based off of a seconds variable. i know the math... i just dont know how to write it. 🙁
more detail: in the plugin settings for cl_mz, assigning the hours and minutes variables do not work as intended, but the seconds variable works and will count upwards. there are 84,600 seconds in one game day. I have v[2] as seconds, v[3] as minutes, and v[4] as hours. i also have v[5] for a day counter.
the meat: i'm looking for equations that will do the following;
v[3] = v[2]/60;
v[4] = v[3]/60, or, v[4] = v[2]/3600; i presume both would work the same
and if theres time, another that will count the days and assign to v[5]
thanks so much for your time
more detail: in the plugin settings for cl_mz, assigning the hours and minutes variables do not work as intended, but the seconds variable works and will count upwards. there are 84,600 seconds in one game day. I have v[2] as seconds, v[3] as minutes, and v[4] as hours. i also have v[5] for a day counter.
the meat: i'm looking for equations that will do the following;
v[3] = v[2]/60;
v[4] = v[3]/60, or, v[4] = v[2]/3600; i presume both would work the same
and if theres time, another that will count the days and assign to v[5]
thanks so much for your time