Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 2.87 KB

behavior-profile.md

File metadata and controls

29 lines (22 loc) · 2.87 KB
description A behavior profile is a list of commands that can be sent to a character unit at specified time intervals using Unity's SendMessage functionality.

Behavior Profile

Creation

To create a behavior profile, find (or create) the GameName/Resources/GameName/BehaviorProfile folder in the project tab and right click. Choose Create > AnyRPG > BehaviorProfile.

Properties

Name Description
Behavior Nodes A list of Behavior Nodes.
Prerequisite Conditions A list of Prerequisite Conditions.
Automatic If true, the object that is using this behavior profile will automatically play the behavior when activated.
Allow Manual Start If true, this behavior will appear on the list of interaction options for this character unit and can be manually started by the player.
Repeatable If true, this behavior can be played more than once.
Looping If true, this behavior will automatically play again when finished.

Behavior Nodes

Name Description
Start Time The time, in seconds, when the behavior node should play.
Behavior Action Nodes

A list of behavior action nodes.
Behavior Method
The name of the method to call using Unity's SendMessage function.
Behavior Parameter
A string parameter to send as the parameter to the Behavior Method.