Talk:State

From Valve Developer Community
Revision as of 07:40, 7 March 2008 by Beeswax (talk | contribs)
Jump to navigation Jump to search

SleepState

How does the BaseNPC keyvalue SleepState fit in here? --Beeswax 16:32, 6 Mar 2008 (PST)

It prevents the NPC from being rendered or thinking. Instead it waits for the correct conditions to become active. It's not really an AI state at all. --TomEdwards 02:52, 7 Mar 2008 (PST)
Ah. Thanks Tom. That helps. So in a way SleepState is more like a pre-spawn or semi-spawned state ... ? would it be more appropriate to document sleepstate under npc_spawning ? --Beeswax 06:40, 7 Mar 2008 (PST)