Left 4 Dead 2 > Modding/Mapping Help and Tips > Λεπτομέρειες θέματος
Dark Light 31 Δεκ, 2013 @ 1: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")
}
Εμφάνιση 1-2 από 2 σχόλια
< >
Rectus 31 Δεκ, 2013 @ 3: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 Δεκ, 2013 @ 8:16μμ 
Thanks, it's really hard to find out about the API due to the poor documentation.
Εμφάνιση 1-2 από 2 σχόλια
< >
Ανά σελίδα: 15 30 50
Ημ/νία ανάρτησης: 31 Δεκ, 2013 @ 1:06μμ
Αναρτήσεις: 2