Making a GameMode script run at second intervals
Revision as of 12:34, 11 November 2006 by imported>BiteHandNIN
This page explains how to make a non-quest GameMode script run once every second, or two seconds, or whatever.
Code scn MyObjectScriptScr float timer
begin GameMode
if Timer > 1 ; replace 1 with # of seconds to skip
set Timer to 0
\\\code
endif set timer to timer + GetSecondsPassed end
that was easy... I found it hard at first to figure out, so I decided to post it.