Left 4 Dead 2

Left 4 Dead 2

Zobrazit statistiky:
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")
}
< >
Zobrazeno 12 z 2 komentářů
Rectus 31. pro. 2013 v 3.53 odp. 
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].
Thanks, it's really hard to find out about the API due to the poor documentation.
< >
Zobrazeno 12 z 2 komentářů
Na stránku: 15 30 50

Datum odeslání: 31. pro. 2013 v 1.06 odp.
Počet příspěvků: 2