Hi All,
requirement -
I want a function to be called after 10sec of the game start and it should be called every second repeatedly.
I tried following way, but its not working…
local function drawRectangleWrapper()
print ("Started wrapper after 10 seconds F militent ")
local function drawRectangle ()
print ("Drawing Rectangle… ")
end
timer.performWithDelay( 1000, drawRectangle(), 0 )
end
timer.performWithDelay( 10000, drawRectangleWrapper(), 1 )
Suggest me the best way as it will be called time…
Thanks in advance…
Sudheer [import]uid: 50443 topic_id: 30536 reply_id: 330536[/import]