Talk:Thinking: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
I am unable to call SetThink() from inside Think(), is this a known truth? --[[User:Empbox|Empbox]] | I am unable to call SetThink() from inside Think(), is this a known truth? --[[User:Empbox|Empbox]] | ||
: What happens if you try the SetThink() code from the article? --[[user:TomEdwards|TomEdwards]] 09:12, 4 August 2009 (UTC) | : What happens if you try the SetThink() code from the article? --[[user:TomEdwards|TomEdwards]] 09:12, 4 August 2009 (UTC) | ||
::You mean the CMyEntity example? Not sure. I did use this article as a quick reference, and SetThink() just wouldn't run from inside Think() to save my life. (SetNextThink() did though!). Finally I just dumped Think(), made a custom think function, added it to DATADESC and SetThink() runs fine. I was just checking to see if this is intentional (coded elsewhere) or if I'm the only one in the world with this prob.., er, inconvenience :) |
Revision as of 15:28, 6 August 2009
Very impressive! Useful topic & helpful implementation, I'm sure it'll be much appreciated! The wiki could definately do with more "how does X work?" articles. --Winston 09:02, 23 Feb 2008 (PST)
- Yours isn't too bad either. :-) --TomEdwards 09:10, 23 Feb 2008 (PST)
Calling SetThink()
I am unable to call SetThink() from inside Think(), is this a known truth? --Empbox
- What happens if you try the SetThink() code from the article? --TomEdwards 09:12, 4 August 2009 (UTC)
- You mean the CMyEntity example? Not sure. I did use this article as a quick reference, and SetThink() just wouldn't run from inside Think() to save my life. (SetNextThink() did though!). Finally I just dumped Think(), made a custom think function, added it to DATADESC and SetThink() runs fine. I was just checking to see if this is intentional (coded elsewhere) or if I'm the only one in the world with this prob.., er, inconvenience :)