- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleUntitled Paste
TypeDenizen Script
Date2020/05/09 16:03:10 UTC-07:00
ByGuest
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
4300
Test:
    type: assignment
    actions:
        on assignment:
        - trigger name:proximity state: true radius:5
    interact scripts:
    - 10 tutorialinteract
    
tutorialinteract:
    type: interact
    steps:
        1:
            proximity trigger:
                1:
                    move:
                        script:
                        - ~walk <def[tutorialnpc].anchor[tut1].with_world<world>> auto_range
                        - ~walk <def[tutorialnpc].anchor[tut2].with_world<world>> auto_range
                        - ~walk <def[tutorialnpc].anchor[tut3].with_world<world>> auto_range
                        - ~walk <def[tutorialnpc].anchor[tut4].with_world<world>> auto_range
                2:
                    move:
                        script:
                        - wait 2
                        - ~walk <def[tutorialnpc].anchor[tut5].with_world<world>> auto_range
                        - ~walk <def[tutorialnpc].anchor[tut6].with_world<world>> auto_range
                        - ~walk <def[tutorialnpc].anchor[tut7].with_world<world>> auto_range
                        - ~walk <def[tutorialnpc].anchor[tut8].with_world<world>> auto_range
tutorial_npc_path:
    type: interact
    definitions: tutorialnpc
    
    script:
    - ^flag <npc> step:1
    - look <npc> <player.location>

my_npc_trypause:
    type: task
    script:
    - ^while <npc.location.distance[<player.location>].is[OR_MORE].than[5]>:
        - narrate format:cchat "Come on, follow me! We must hurry!"
        - wait 15



RawRaw



Pastes made: 76867