Paste #71061: Untitled Paste

Date: 2020/06/19 15:48:53 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


cchat:
    type: format
    format: "<&9><npc.name><&f><&co> <&e><text>"

tutNpc:
    type: assignment
    actions:
        on assignment:
        - trigger name:proximity state:true radius:5
    interact scripts:
    - tutorialInteract

tutorialInteract:
    type: interact
    steps:
        1:
            proximity trigger:
                entry:
                        script:
                        - run my_npc_path1

my_npc_path1:
    type: task
    script:
        - flag <npc> step:1
        - ~walk <npc> <npc.anchor[tut1].with_world[<npc.location.world>]> auto_range
        - flag <npc> step:2
        - ~walk <npc> <npc.anchor[tut2].with_world[<npc.location.world>]> auto_range
        - flag <npc> step:3
        - ~walk <npc> <npc.anchor[tut3].with_world[<npc.location.world>]> auto_range
        - flag <npc> step:4
        - ~walk <npc> <npc.anchor[tut4].with_world[<npc.location.world>]> auto_range
        - flag <npc> step:5
        - ~walk <npc> <npc.anchor[tut5].with_world[<npc.location.world>]> auto_range