This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
npc_behavior [2022/12/14 17:36] – justin | npc_behavior [2023/05/06 21:14] (current) – justin | ||
---|---|---|---|
Line 10: | Line 10: | ||
^Icon^Setting^Description^ | ^Icon^Setting^Description^ | ||
|{{: | |{{: | ||
- | |{{:wiki:hand.png? | + | |{{:interact.png? |
|{{: | |{{: | ||
|{{: | |{{: | ||
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^ | ||
- | |" | + | |" |
- | |" | + | |" |
- | |" | + | |" |
- | |" | + | |" |
- | |" | + | |" |
- | |" | + | |" |
- | |" | + | |" |
- | |" | + | |" |
- | |" | + | |" |
- | |" | + | |" |
+ | |" | ||
+ | |" | ||
|" | |" | ||
|" | |" | ||
- | |" | + | |" |
- | |" | + | |" |
+ | |" | ||
|" | |" | ||
- | |" | + | |" |
|" | |" | ||
- | |" | + | |" |
|" | |" | ||
|" | |" | ||
- | |" | + | |" |
|" | |" | ||
- | |" | + | |" |
+ | |||
+ | **Examples: | ||
+ | <code bauxite> | ||
+ | entity[" | ||
+ | </ | ||
+ | Changes the movement interval so the character moves every 1 second. | ||
+ | <code bauxite> | ||
+ | entity[" | ||
+ | </ | ||
+ | Changes the character to be attackable in real-time. | ||
+ | <code bauxite> | ||
+ | entity[" | ||
+ | </ | ||
+ | Changes the character' | ||
~~NOTOC~~ | ~~NOTOC~~ |