gpt4 book ai didi

vbscript - Merlin Agent 可以执行哪些操作?

转载 作者:行者123 更新时间:2023-12-03 03:01:49 24 4
gpt4 key购买 nike

诚然,这是一个谷歌问题。但似乎所有文档都已被删除,我在任何地方都找不到它们。因此,我希望有人可以向我展示一些用于枚举对象的 VBScript 代码,或者具有更强的 google-fu。

merlin 代理是一个废弃的 Windows 组件,类似于 Alice旨在通过让 children 讲故事来教授编程。有人介绍给我的in this stackoverflow answer通过 Bob Mc (坦率地说,值得更多的支持)。无论如何,这里有一个示例,假设您使用的是 Windows 并且它安装到 C 驱动器(我发现 merlin 几乎存在于所有计算机上):

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

现在我正在寻找 Merlin 可以采取的其他顶级操作。据我所知:

  • 显示
  • 移至
  • 隐藏
  • 说话
  • 手势
  • 播放

Play 采用动画名称。我也在寻找所有这些。据我所知:

  • '角色.播放“阅读”
  • '角色。播放“写入”
  • '角色.播放“WriteContinued”
  • '角色.播放“恭喜”
  • '角色.播放“问候”
  • '角色。播放“拒绝”
  • '角色。播放“解释”
  • '角色.播放“GestureLeft”
  • '角色.播放“向右手势”
  • '角色。扮演“高兴”
  • '角色。播放“惊讶”
  • '角色.播放“GetAttention”

你能帮我找到剩下的吗?

最佳答案

我不知道为什么我没有早点尝试互联网文件馆[1],但它确实有效。以下是 merlin 可以执行的动画:

Acknowledge             Nods headAlert                   Straightens and raises eyebrowsAnnounce                Raises trumpet and playsBlink                   Blinks eyesConfused                Scratches headCongratulate                Displays trophyCongratulate_2              ApplaudsDecline                 Raises hands and shakes headDoMagic1                Raises magic wandDoMagic2                Lowers wand, clouds appearDontRecognize               Holds hand to earExplain                 Extends arms to sideGestureDown             Gestures downGestureLeft             Gestures to his leftGestureRight                Gestures to his rightGestureUp               Gestures upGetAttention                Leans forward and knocksGetAttentionContinued           Leaning forward, knocks againGetAttentionReturn          Returns to neutral positionHearing_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 capIdle1_1                 Takes breathIdle1_2                 Glances left and blinksIdle1_3                 Glances rightIdle1_4                 Glances up to the right and blinksIdle2_1                 Looks at wand and blinksIdle2_2                 Holds hands and blinksIdle3_1                 YawnsIdle3_2                 Falls asleep (looping animation)LookDown                Looks downLookDownBlink               Blinks looking downLookDownReturn              Returns to neutral positionLookLeft                Looks leftLookLeftBlink               Blinks looking leftLookLeftReturn              Returns to neutral positionLookRight               Looks rightLookRightBlink              Blinks looking rightLookRightReturn             Returns to neutral positionLookUp                  Looks upLookUpBlink             Blinks looking upLookUpReturn                Returns to neutral positionMoveDown                Flies downMoveLeft                Flies to his leftMoveRight               Flies to his rightMoveUp                  Flies upPleased                 Smiles and holds his hands togetherProcess                 Stirs cauldronProcessing              Stirs cauldron (looping animation)Read                    Opens book, reads and looks upReadContinued               Reads and looks upReadReturn              Returns to neutral positionReading                 Reads (looping animation)RestPose                Neutral positionSad                 Sad expressionSearch                  Looks into crystal ballSearching               Looks into crystal ball (looping animation)Show                    Appears out of capStartListening              Puts hand to earStopListening               Puts hands over earSuggest                 Displays light bulbSurprised               Looks surprisedThink                   Looks up with hand on chinThinking                Looks up with hand on chin (looping animation)Uncertain               Leans forward and raises eyebrowsWave                    WavesWrite                   Opens book, writes and looks upWriteContinued              Writes and looks upWriteReturn             Returns to neutral positionWriting                 Writes (looping animation)          

Here's how to get them all:

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

关于vbscript - Merlin Agent 可以执行哪些操作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1116451/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com