Difference between revisions of "HPL3/Amnesia: Rebirth/Scripting/Agents/Wraiths"

From Frictional Wiki
Jump to navigation Jump to search
(WIP - created page, currently empty.)
 
(→‎Modes vs Commands: clarified command usage.)
 
Line 9: Line 9:
 
Each mode contains a subset of behaviors. They define what the 'default' action for the agent should be and can be used to give different agents of the same type unique behaviors.
 
Each mode contains a subset of behaviors. They define what the 'default' action for the agent should be and can be used to give different agents of the same type unique behaviors.
  
A command is an order issued to the agent independent of the current mode. They can be used to override the agents current action.
+
A command is an order issued to the agent independent of the current mode. They can be used to override the agents current action. The agent will resume any mode specific behavior after completing the command.
  
 
Unlike previous HPL titles, agents should only be controlled through modes and commands,  NOT through changing the agent state.
 
Unlike previous HPL titles, agents should only be controlled through modes and commands,  NOT through changing the agent state.

Latest revision as of 04:12, 16 November 2020

Wip icon.png Basic overview of agent


Basic Overview

Modes vs Commands

Each mode contains a subset of behaviors. They define what the 'default' action for the agent should be and can be used to give different agents of the same type unique behaviors.

A command is an order issued to the agent independent of the current mode. They can be used to override the agents current action. The agent will resume any mode specific behavior after completing the command.

Unlike previous HPL titles, agents should only be controlled through modes and commands, NOT through changing the agent state.

General Functions

Modes