BecomeActive, Thinking Entities: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
(info is ok)
(mark as checked (the forum post is from last year :-)
Line 1: Line 1:
<!-- info checked by greebo on 2007-11-18 :) -->
{{Original_Reference|Ishtvan|4146}}
{{Original_Reference|Ishtvan|4146}}



Revision as of 11:52, 18 November 2007

Originally written by Ishtvan on http://forums.thedarkmod.com/topic/4146

If you give an entity a new ::Think method, be sure to call BecomeActive( TH_THINK ) in the spawn method, otherwise the ::Think will only get called once and then no more.