View Single Post
  #13  
Old 10-05-2011, 11:37 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

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).
Reply With Quote