User Tools

Site Tools


npc_behavior

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
npc_behavior [2017/12/01 08:02] justinnpc_behavior [2020/05/09 11:02] justin
Line 2: Line 2:
 ---- ----
  
-**NPC Behavior** determines how an [[NPC]] moves around the map and reacts to their surroundings. It can be configured from their [[Entity Properties]] dialog in the [[Map Editor]].+**NPC Behavior** determines how an [[NPC]] moves around the [[map]] and reacts to their surroundings. It can be configured in the [[Map Editor]] from the "Behavior Settings" section of their [[Entity Properties]] panel.
  
 {{:wiki:npc_behavior_dialog.png?nolink|}} {{:wiki:npc_behavior_dialog.png?nolink|}}
Line 9: Line 9:
  
 ^Setting^Description^ ^Setting^Description^
-|Ruleset Name|Unique name for the behavior rulesetCurrently this will display as "Customand cannot be edited, but in a future release you'll able to save the settings for reuse with other [[npc|NPCs]].|+|Preset|Unique name for the set of behavior rulesTo store the current settings to a named preset, click the "Savebutton to the right of the dropdown box. The "No Behavior" option indicates that the [[NPC]] will be immobile and cannot be interacted with.|
 |Movement Area|Determines where the [[NPC]] is permitted to move, for example to any open [[tile|tiles]] or only those within a [[groups|group]] defined for the map.| |Movement Area|Determines where the [[NPC]] is permitted to move, for example to any open [[tile|tiles]] or only those within a [[groups|group]] defined for the map.|
 |Movement Interval|Determines how long the [[NPC]] will wait (in seconds) between each movement attempt. This can either be a fixed value or a random value within a range.| |Movement Interval|Determines how long the [[NPC]] will wait (in seconds) between each movement attempt. This can either be a fixed value or a random value within a range.|
 |Movement Direction|Determines the direction in which the [[NPC]] will attempt to move. This can either be a random direction, a relative direction (forward, to their left. etc.), or an absolute [[cardinal direction]].| |Movement Direction|Determines the direction in which the [[NPC]] will attempt to move. This can either be a random direction, a relative direction (forward, to their left. etc.), or an absolute [[cardinal direction]].|
-|Reaction to Obstacle|Determines how the [[NPC]] will react to an obstacle in their path. The options currently include turning left, turning right, or reversing direction.|+|Reaction to Obstacle|Determines how the [[NPC]] will react to an obstacle in their path. The options currently include turning left, turning right, reversing direction, or stopping permanently.|
  
 In the example below, the slime has been configured to always move forward at an interval of zero seconds. It is also configured to turn right in reaction to an obstacle. In the example below, the slime has been configured to always move forward at an interval of zero seconds. It is also configured to turn right in reaction to an obstacle.
npc_behavior.txt · Last modified: 2023/05/06 21:14 by justin