关于vbscript:Merlin代理可以做什么?

What are all the actions the Merlin Agent can do?

诚然,这是谷歌的问题。但似乎所有的文件都被删除了,我在任何地方都找不到。所以我希望有人可以给我看一些VBScript代码来枚举对象,或者有更强的GoogleFu。

Merlin代理是一种类似Alice的废弃Windows组件,旨在通过让孩子们讲故事来教授编程。它是在这个StackOverflow答案中由BobMc介绍给我的(而且坦率地说,它应该得到更多的上票)。在任何情况下,这里都有一个例子,假设您在Windows上,并且安装在C驱动器上(我发现Merlin几乎在所有计算机上):

1
2
3
4
5
6
7
8
9
10
11
12
agentName ="Merlin"
agentPath ="c:\windows\msagent\chars" & agentName &".acs"
Set agent = CreateObject("Agent.Control.2")
agent.Connected = TRUE
agent.Characters.Load agentName, agentPath
Set character = agent.Characters.Character(agentName)

character.Show
character.MoveTo 200, 400
character.Play"Surprised"

Wscript.Sleep 10000

现在我要找的是梅林可以采取的其他顶级行动。我知道:

  • 莫特沃
  • 隐藏
  • 通话
  • 胎教
  • 游戏

播放采用动画名称。我也在找这些。我知道:

  • "character.play"读取
  • "character.play"写入
  • "character.play"写入继续
  • "character.play"恭喜
  • "character.play"问候语
  • "character.play"拒绝
  • "character.play"解释
  • "character.play"格式左对齐
  • "character.play"手势灯
  • "character.play"高兴
  • "character.play"惊喜
  • 'character.play'获得注意'

你能帮我找到剩下的吗?


我不知道为什么我之前没有尝试过互联网档案[1],但它起作用了。以下是梅林可以做的动画:

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
67
68
69
70
71
72
Acknowledge             Nods head
Alert                   Straightens and raises eyebrows
Announce                Raises trumpet and plays
Blink                   Blinks eyes
Confused                Scratches head
Congratulate                Displays trophy
Congratulate_2              Applauds
Decline                 Raises hands and shakes head
DoMagic1                Raises magic wand
DoMagic2                Lowers wand, clouds appear
DontRecognize               Holds hand to ear
Explain                 Extends arms to side
GestureDown             Gestures down
GestureLeft             Gestures to his left
GestureRight                Gestures to his right
GestureUp               Gestures up
GetAttention                Leans forward and knocks
GetAttentionContinued           Leaning forward, knocks again
GetAttentionReturn          Returns to neutral position
Hearing_1               Ears extend (looping animation)
Hearing_2               Tilts head left (looping animation)
Hearing_3               Turns head left (looping animation)
Hearing_4               Turns head right (looping animation)
Hide                    Disappears under cap
Idle1_1                 Takes breath
Idle1_2                 Glances left and blinks
Idle1_3                 Glances right
Idle1_4                 Glances up to the right and blinks
Idle2_1                 Looks at wand and blinks
Idle2_2                 Holds hands and blinks
Idle3_1                 Yawns
Idle3_2                 Falls asleep (looping animation)
LookDown                Looks down
LookDownBlink               Blinks looking down
LookDownReturn              Returns to neutral position
LookLeft                Looks left
LookLeftBlink               Blinks looking left
LookLeftReturn              Returns to neutral position
LookRight               Looks right
LookRightBlink              Blinks looking right
LookRightReturn             Returns to neutral position
LookUp                  Looks up
LookUpBlink             Blinks looking up
LookUpReturn                Returns to neutral position
MoveDown                Flies down
MoveLeft                Flies to his left
MoveRight               Flies to his right
MoveUp                  Flies up
Pleased                 Smiles and holds his hands together
Process                 Stirs cauldron
Processing              Stirs cauldron (looping animation)
Read                    Opens book, reads and looks up
ReadContinued               Reads and looks up
ReadReturn              Returns to neutral position
Reading                 Reads (looping animation)
RestPose                Neutral position
Sad                 Sad expression
Search                  Looks into crystal ball
Searching               Looks into crystal ball (looping animation)
Show                    Appears out of cap
StartListening              Puts hand to ear
StopListening               Puts hands over ear
Suggest                 Displays light bulb
Surprised               Looks surprised
Think                   Looks up with hand on chin
Thinking                Looks up with hand on chin (looping animation)
Uncertain               Leans forward and raises eyebrows
Wave                    Waves
Write                   Opens book, writes and looks up
WriteContinued              Writes and looks up
WriteReturn             Returns to neutral position
Writing                 Writes (looping animation)

以下是如何获取所有信息:

1
2
3
For Each strName in objCharacter.AnimationNames
    Wscript.Echo strName
Next

1:(因此无法解析此链接)http://web.archive.org/web/20080214075638/http://www.microsoft.com/technet/scriptcenter/funzone/agent.mspx


我知道回答这个问题已经晚了。

但是

您可以在此处下载库和字符。

您可以在这里找到文档。

您可以在这里找到支持的动画列表。