Page 3 of 3

Re: Timer running slow when placed in other levels

Posted: Thu Nov 01, 2012 10:28 pm
by petri
You could also have a timer in each level and connect them all to this script:

Code: Select all

function timerActivated(timer)
  if timer.level == party.level then
    print("tick")
  end
end
The code inside the if block is only executed by the timer which is on the same level as the party.

(those timers could be created by the script too, less manual setup)

Re: Timer running slow when placed in other levels

Posted: Thu Nov 01, 2012 10:40 pm
by Komag
hmm, I think I see, thanks