NPC Perception Design: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Magodra (talk | contribs)
Magodra (talk | contribs)
Line 27: Line 27:
</uml>
</uml>


== Personal NPC Perceptions ==
=== Personal NPC Perceptions Sequence ===
<uml>
<uml>
-> NPC : TriggerEvent
-> NPC : TriggerEvent

Revision as of 18:41, 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 Hierarchy

Personal NPC Perceptions Sequence