Date: 2020/05/30 17:23:05 UTC-07:00
Type: Denizen Script
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
cchat:
type: format
format: "<&9><npc.name><&f><&co> <&e><text>"
Test:
type: assignment
actions:
on assignment:
- trigger name:proximity state:true radius:5
interact scripts:
- tutorialinteract
tutorialinteract:
type: interact
steps:
1:
proximity trigger:
entry:
script:
- ~walk <npc> <npc.anchor[tut1].with_world[<npc.location.world>]> auto_range
- ~walk <npc> <npc.anchor[tut2].with_world[<npc.location.world>]> auto_range
- ~walk <npc> <npc.anchor[tut3].with_world[<npc.location.world>]> auto_range
- ~walk <npc> <npc.anchor[tut4].with_world[<npc.location.world>]> auto_range
- ~walk <npc> <npc.anchor[tut5].with_world[<npc.location.world>]> auto_range
- zap 2
2:
proximity trigger:
entry:
script:
- wait 2
- ~walk <npc> <npc.anchor[tut6].with_world[<npc.location.world>]> auto_range
- ~walk <npc> <npc.anchor[tut7].with_world[<npc.location.world>]> auto_range
- ~walk <npc> <npc.anchor[tut8].with_world[<npc.location.world>]> auto_range
- ~walk <npc> <npc.anchor[tut9].with_world[<npc.location.world>]> auto_range
- ~walk <npc> <npc.anchor[tut10].with_world[<npc.location.world>]> auto_range
- zap 3
#player kills first mob HERE
3:
proximity trigger:
entry:
script:
- wait 2
- ~walk <npc> <npc.anchor[tut11].with_world[<npc.location.world>]> auto_range
- ~walk <npc> <npc.anchor[tut12].with_world[<npc.location.world>]> auto_range
- zap 4
4:
proximity trigger:
entry:
script:
- wait 2
- ~walk <npc> <npc.anchor[tut13].with_world[<npc.location.world>]> auto_range
- ~walk <npc> <npc.anchor[tut14].with_world[<npc.location.world>]> auto_range
- zap 5
5:
proximity trigger:
entry:
script:
- wait 2
- ~walk <npc> <npc.anchor[tut15].with_world[<npc.location.world>]> auto_range
my_npc_trypause:
type: task
script:
- while <npc.location.distance[<player.location>]> >= 5:
- narrate format:cchat "Come on, follow me! We must hurry!"
- wait 5