Left 4 Dead 2

Left 4 Dead 2

Zobacz statystyki:
Dark Light 31 grudnia 2013 o 13:06
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")
}
< >
Wyświetlanie 1-2 z 2 komentarzy
Rectus 31 grudnia 2013 o 15:53 
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 grudnia 2013 o 20:16 
Thanks, it's really hard to find out about the API due to the poor documentation.
< >
Wyświetlanie 1-2 z 2 komentarzy
Na stronę: 15 30 50

Data napisania: 31 grudnia 2013 o 13:06
Posty: 2