Hi guys, I'm new to this, and the old videos are.. well, not super helpful, (mostly outdated stuff), and the new guide is nowhere near finished, so, here I am, I'm wondering if there's any way to see why certain scripts just simply dont load, I can see no problem with them, though naming is apparently an issue
What's the process denizen goes through to check if an assignment to an NPC is valid?
Also if you want the script i'm starting on, I'll include it below, It's nowhere near finished but I don't want to get all the work done, only for some blaring issue to be staring me in the face for future scripts when I know more about the plugin
file name is "jg.yml"
What's the process denizen goes through to check if an assignment to an NPC is valid?
Also if you want the script i'm starting on, I'll include it below, It's nowhere near finished but I don't want to get all the work done, only for some blaring issue to be staring me in the face for future scripts when I know more about the plugin
file name is "jg.yml"
Code:
jg:
type: assignment
actions:
on assignment:
- trigger name:click state:true
- trigger name:chat state:true
interact scripts:
- jg_interact
cchat:
type: format
format: "<npc.name><&co> <text>"
#Make a colour code here^
jg_interact:
type: interact
steps:
1:
click trigger:
script:
- narrate format:cchat "Welcome to the gladiator arena"
#Make a check for if player has been in arena before
# if <player.has_flag[hasbia]>
# zap whatever step
#if !<player.has_flag[hasbia]>
- wait 2s
- narrate format:cchat "Would you like some information about"
- narrate format:cchat "the arena?"
- wait 3s
#Need actual colour code hereVVV
- narrate "yes no"
chat trigger:
1:
trigger: "/Yes/ I would"
script:
- narrate format:cchat "We're a business that's over a thousand"
- wait 1s
- narrate format:cchat "years old, this is an old blood sport."
- narrate format:cchat "I'm one of the last of the Azcyngos,"
- narrate format:cchat "filler"