Dark Light 31. dec 2013 kl. 1:06pm
function Think() does not work
I am wanting to put code into a timer, I have done the following but only Update is called.

function Update()
{
printl("Update")
}

function Think()
{
printl("Think")
}
Viser 1-2 af 2 kommentarer
< >
Rectus 31. dec 2013 kl. 3:53pm 
AFAIK there isn't any general think function. You can add a think function to an entity with AddThinkToEnt() though, or easier, use the timers in VSLib[github.com].
Dark Light 31. dec 2013 kl. 8:16pm 
Thanks, it's really hard to find out about the API due to the poor documentation.
Viser 1-2 af 2 kommentarer
< >
Per side: 15 30 50
Dato postet: 31. dec 2013 kl. 1:06pm
Indlæg: 2