🗣️NT_DIALOGSYSTEM
Last updated
Last updated
ox_target required.
NT_DIALOGSYSTEM/client/example.lua
Puedes eliminar esto si lo deseas, es solo con el fin de testear la funcionalidad del sistema de diálogos.
NT_DIALOGSYSTEM/config.lua
NPCS:
model: NPC model
animation: True/false in case you want or don't want an animation
dict: The animation dictionary to choose from if you want one, otherwise leave it blank
anim: Animation available in the chosen dictionary, leave it blank if no animation is desired
coords: NPC coordinates
heading: Direction the NPC is facing
options:
name: NPC name
label: Label shown when opening the target.
icon: Icon shown when opening the target.
event: Event triggered to display the dialogue system.
index: Position of the dialogues to be displayed
Dialogs:
number: Posición del diálogo a mostrar.
text: Title of the dialogue system window, it can be a question or a text telling a story or whatever is necessary.
options:
text: Text of the option
index: Position of the next dialogue to choose, if you choose 0, you can additionally add an event to close the dialogue and proceed to call an event to perform a certain action, such as starting a mission or giving you an item.