Paste #68086: Untitled Paste

Date: 2020/04/26 04:25:30 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20


WalkAssignment:
    type: assignment
    interact scripts:
    - WalkInteract

WalkInteract:
    type: interact
    steps:
        1:
            chat trigger:
                1:
                    trigger: /prueba/
                    script:
                        - anchor add 475,77,305,world id:prueba_loc
                2:
                    trigger: /walk/
                    script:
                        - while <npc.location.distance[<player.location>].round_up> <= 3:
                            - walk <npc> <npc.anchor[prueba_loc]>
                            - wait 1t