Date: 2015/10/12 13:17:16 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
##################
# WELCOME Guide
#
# This AI is for the initial welcome guide
#
# LAST:
# *G* (2015/10/15) - initial creation of script
#
#
welcomer:
Type: assignment
Actions:
on assignment:
- trigger name:Proximity state:true radius:5
- trigger name:Chat state:true radius:6
Interact scripts:
- 0 welcomer_interact
##################
# Chat Definition
#
# This section defines the actual "chat" dialog as wel as the actions
# for any NPC that is assigned to this script.
#
welcomer_interact:
type: interact
debug: true
steps:
1:
Proximity Trigger:
entry:
script:
- engage
- narrate format:chat "Welcome to YetiCraft!"
- wait 5t
- narrate format:chat "When you are ready to proceed, just tell me."
- disengage
exit:
script:
- engage
- narrate format:chat "Take a look around. There are some interesting things here. When you are done, come back and I will send you onward."
- disengage
Chat Trigger:
1:
Trigger: /proceed/, I would like to proceed.
Script:
- engage
- narrate format:chat "Good!"
- wait 5t
- narrate format:chat "Let's get you started! Sending you on to the path that will take you to playable areas."
- wait 1
- narrate format:chat "Just walk up to the next NPC and they will start talking!"
- teleport <player> 26,85,48,2,-26,Welcome
- flag player welcometutorialstart
- disengage