Dark Light 31 dec 2013 om 1:06nm
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")
}
1-2 van 2 reacties weergegeven
< >
Jizz Wizard 31 dec 2013 om 3:53nm 
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 om 8:16nm 
Thanks, it's really hard to find out about the API due to the poor documentation.
1-2 van 2 reacties weergegeven
< >
Per pagina: 15 30 50
Geplaatst op: 31 dec 2013 om 1:06nm
Aantal berichten: 2