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
Last revisionBoth sides next revision
npc_behavior [2023/05/06 21:11] justinnpc_behavior [2023/05/06 21:13] justin
Line 29: Line 29:
 Refer to the table below for a list of behavior settings that can be accessed from a [[script]]. The behavior data is stored as a [[codex]], and each setting can be modified or retrieved using its corresponding key. Refer to the table below for a list of behavior settings that can be accessed from a [[script]]. The behavior data is stored as a [[codex]], and each setting can be modified or retrieved using its corresponding key.
 ^Key^Possible Values^Data Type^ ^Key^Possible Values^Data Type^
-|"interaction_by_player"|"start_dialogue", "start_battle", "run_script"|[[String]]|+|"interaction_by_player"|"none", "start_dialogue", "start_battle", "run_script"|[[String]]|
 |"interaction_by_player_dialogue"|[[Dialogue]] name when "interaction_by_player" is "start_dialogue"|[[String]]| |"interaction_by_player_dialogue"|[[Dialogue]] name when "interaction_by_player" is "start_dialogue"|[[String]]|
 |"interaction_by_player_battle"|[[Battle]] name when "interaction_by_player" is "start_battle"|[[String]]| |"interaction_by_player_battle"|[[Battle]] name when "interaction_by_player" is "start_battle"|[[String]]|
 |"interaction_by_player_script"|[[Script]] name when "interaction_by_player" is "run_script"|[[String]]| |"interaction_by_player_script"|[[Script]] name when "interaction_by_player" is "run_script"|[[String]]|
-|"next_to_player"|"start_dialogue", "start_battle", "run_script"|[[String]]|+|"next_to_player"|"none", "start_dialogue", "start_battle", "run_script"|[[String]]|
 |"next_to_player_dialogue"|[[Dialogue]] name when "next_to_player" is "start_dialogue"|[[String]]| |"next_to_player_dialogue"|[[Dialogue]] name when "next_to_player" is "start_dialogue"|[[String]]|
 |"next_to_player_battle"|[[Battle]] name when "next_to_player" is "start_battle"|[[String]]| |"next_to_player_battle"|[[Battle]] name when "next_to_player" is "start_battle"|[[String]]|
 |"next_to_player_script"|[[Script]] name when "next_to_player" is "run_script"|[[String]]| |"next_to_player_script"|[[Script]] name when "next_to_player" is "run_script"|[[String]]|
-|"collide_with_player"|"run_script"|[[String]]|+|"collide_with_player"|"none", "run_script"|[[String]]|
 |"collide_with_player_script"|[[Script]] name when "collide_with_player" is "run_script"|[[String]]| |"collide_with_player_script"|[[Script]] name when "collide_with_player" is "run_script"|[[String]]|
-|"on_death"|"run_script"|[[String]]|+|"on_death"|"none", "run_script"|[[String]]|
 |"on_death_script"|[[Script]] name when "on_death" is "run_script"|[[String]]| |"on_death_script"|[[Script]] name when "on_death" is "run_script"|[[String]]|
 |"can_trigger_scripts"|true, false|[[Boolean]]| |"can_trigger_scripts"|true, false|[[Boolean]]|
npc_behavior.txt · Last modified: 2023/05/06 21:14 by justin