Talk:State: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==SleepState== | ==SleepState== | ||
How does the BaseNPC keyvalue [[Template:KV BaseNPC|SleepState]] fit in here? --[[User:Beeswax|Beeswax]] 16:32, 6 Mar 2008 (PST) | How does the BaseNPC keyvalue [[Template:KV BaseNPC|SleepState]] fit in here? --[[User:Beeswax|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. --[[user:TomEdwards|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 ? --[[User:Beeswax|Beeswax]] 06:40, 7 Mar 2008 (PST) |
Latest revision as of 07:42, 7 March 2008
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)