Left 4 Dead 2

Left 4 Dead 2

檢視統計資料:
Dark Light 2013 年 12 月 31 日 1:06 PM
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 2013 年 12 月 31 日 3:53 PM 
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 2013 年 12 月 31 日 8:16 PM 
Thanks, it's really hard to find out about the API due to the poor documentation.
< >
目前顯示第 1-2 則留言,共 2
每頁: 15 30 50

張貼日期: 2013 年 12 月 31 日 1:06 PM
回覆: 2