![]() |
#8
|
|||
|
|||
![]()
if (Time.tickCounter() % Repeat == Dlay) //
Ok % is the Modulo operator in c# Repeat has a value of 108000 Dlay has a value of 1800 So your mission would load first after 10min and then every 60min. for every 10min you should use if (Time.tickCounter() % 1800 == 1799) so it waits ~10min and then repeat the doniers every 10min 30ticks are around 1sec, but can vary (so often 34Ticks is a second). |
|
|