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 [2020/05/11 09:35] justinnpc_behavior [2020/05/11 09:51] justin
Line 12: Line 12:
 |{{:wiki:hand.png?nolink|}}|When Player Interacts|Determines what will happen when the [[player character]] interacts with this [[NPC]]. If the "Start Dialogue" or "Start Battle" option is selected, an additional dropdown will allow you to choose which [[dialogue]] or [[battle]] to start.| |{{:wiki:hand.png?nolink|}}|When Player Interacts|Determines what will happen when the [[player character]] interacts with this [[NPC]]. If the "Start Dialogue" or "Start Battle" option is selected, an additional dropdown will allow you to choose which [[dialogue]] or [[battle]] to start.|
 |{{:wiki:navigation_adjacent.png?nolink|}}|When Next to Player|Determines what will happen when this [[NPC]] is on a [[tile]] adjacent to the [[player character]]. If the "Start Dialogue" or "Start Battle" option is selected, an additional dropdown will allow you to choose which [[dialogue]] or [[battle]] to start.| |{{:wiki:navigation_adjacent.png?nolink|}}|When Next to Player|Determines what will happen when this [[NPC]] is on a [[tile]] adjacent to the [[player character]]. If the "Start Dialogue" or "Start Battle" option is selected, an additional dropdown will allow you to choose which [[dialogue]] or [[battle]] to start.|
-|{{:wiki:script_start.png?nolink|}}|Can Trigger Scripts|When enabled, this [[NPC]] is able to trigger [[script|scripts]] on [[tile|tiles]], for example when stepping onto a trap or a hazardous [[tile]]. The "Triggerable by NPCs" option must also be enabled for a [[tile]] [[script]] in order for the [[NPC]] to trigger it.|+|{{:wiki:script_start.png?nolink|}}|Can Trigger Scripts|When enabled, this [[NPC]] is able to trigger [[script|scripts]] on [[tile|tiles]], for example when stepping onto a trap or a hazardous [[tile]]. The "Triggerable by NPCs" option (see [[Entity Properties]]) must also be enabled for a [[tile|tile's]] [[script]] in order for the [[NPC]] to trigger it.|
 |{{:wiki:sword.png?nolink|}}|Attackable in Real-Time|When enabled, this [[NPC]] can be attacked in the game world in real-time. Their loot drop and experience points that will be given to the attacking [[character]] when defeated can be set if this option is toggled on. Their stats, like health and attack strength, are configured from the [[Model Properties]] panel of the [[Voxel Editor]].| |{{:wiki:sword.png?nolink|}}|Attackable in Real-Time|When enabled, this [[NPC]] can be attacked in the game world in real-time. Their loot drop and experience points that will be given to the attacking [[character]] when defeated can be set if this option is toggled on. Their stats, like health and attack strength, are configured from the [[Model Properties]] panel of the [[Voxel Editor]].|
-|{{:wiki:group.png?nolink|}}|Movement Area|Determines where this [[NPC]] is permitted to move, for example to any open [[tile|tiles]] or only those within a [[groups|group]] defined for the map.|+|{{:wiki:group.png?nolink|}}|Movement Area|Determines where this [[NPC]] is permitted to move, for example to any open [[tile|tiles]] or only those within a [[groups|group]] defined for the [[map]].|
 |{{:wiki:clock.png?nolink|}}|Movement Interval|Determines how long this [[NPC]] will wait (in seconds) between each movement attempt. This can either be a fixed value or a random value within a range.| |{{:wiki:clock.png?nolink|}}|Movement Interval|Determines how long this [[NPC]] will wait (in seconds) between each movement attempt. This can either be a fixed value or a random value within a range.|
 |{{:wiki:arrow_out.png?nolink|}}|Movement Direction|Determines the direction in which this [[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]]. With the "Random" option, they will only move if the randomly selected direction is passable and unobstructed, while "Random (Forced)" indicates that only open paths should be considered (therefore they will always move if an open path is available).| |{{:wiki:arrow_out.png?nolink|}}|Movement Direction|Determines the direction in which this [[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]]. With the "Random" option, they will only move if the randomly selected direction is passable and unobstructed, while "Random (Forced)" indicates that only open paths should be considered (therefore they will always move if an open path is available).|
npc_behavior.txt · Last modified: 2023/05/06 21:14 by justin