Talk:State
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 ... somewhere between Spawn() and Activate()? would it be more appropriate to document sleepstate under npc_spawning ? --Beeswax 06:40, 7 Mar 2008 (PST)