This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
npc_behavior [2017/12/01 08:02] – justin | npc_behavior [2017/12/11 17:17] – justin | ||
---|---|---|---|
Line 13: | Line 13: | ||
|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, | + | |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. |