Here's what I have:
Code: ags
function room_Load()
{
Timer *MyTimer;
MyTimer = Timer.StartLocalRT(12.0, eTimerPause, eOnce);
}
Overlay* ovTimer;
function room_RepExec()
{
if (ovTimer != null && ovTimer.Valid) {
ovTimer.Remove();
}
ovTimer = Overlay.CreateTextual(80, 80, 200, eFontNormal, 51520, String.Format("%f", MyTimer.RemainingSeconds)); <---mytimer has no scope, no capitalisation, 'undefined symbol'
}