NPC Perception Design: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Magodra (talk | contribs)
No edit summary
Magodra (talk | contribs)
Line 5: Line 5:


== NPC Perceptions ==
== NPC Perceptions ==
=== Class Hirarchy ==


<uml>
<uml>
class Reaction
class Perception
class Perception
Perception <|-- RangePerception
Perception <|-- RangePerception
Perception <|-- TimePerception
Perception <|-- TimePerception

Revision as of 18:40, 30 April 2011

See Behaviors_and_Reactions for User details about how to use Perceptions in the behavior.xml file.


This embodies any perception an NPC might have, or any game event of interest. Reaction objects below will subscribe to these events, and the networking system will publish them. Examples would be "attacked", "collided", "talked to", "hear cry".

NPC Perceptions

= Class Hirarchy

Personal NPC Perceptions