NPC Scripting
Jump to navigation
Jump to search
NPCs are scripted where the main elements are perceptions that represents events in the soundings of the NPC. The NPC has a set of reactions that decide if the NPC will react to a perception. The reaction that start a behavior that is a set of operations the NPC will perform. Some NPCs work together in tribes, see Tribe Scripting for details.
Example 1: | Example 2: |
---|---|