首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在“通知7”中,什么是与进入容器相反的?

在“通知7”中,什么是与进入容器相反的?
EN

Stack Overflow用户
提问于 2020-07-15 00:53:27
回答 1查看 258关注 0票数 2

我有一个消息7故事,玩家开始在一个容器内的游戏。当玩家离开容器时,我想说一些文字。当我使用条件时:“退出后.”我犯了个错误。“进入后.”有效,所以我想我只是找错了退出的动词。

下面是有问题的代码:

代码语言:javascript
复制
The Hibernation Chamber is a room. 
The Hibernation Pod is a container in the Hibernation Chamber. The Hibernation Pod is enterable and fixed in place. The description is "It looks just like the twenty or so others in the room, except the lid is open."
The player is in the Hibernation Pod. 
After exiting the Hibernation Pod, say "You stand, blinking, and looking at two concentric arcs of identical, shiny white hibernation pods in a strange octagonally shaped room. The only break in the pods is for doors to the north and northeast. A bulky table with a clear top occupies the center of the two arcs of pods."

如果我将“退出后”改为“输入后”,它就会生成并运行得很好。但是,我希望规则是当球员离开吊舱,而不是进入吊舱时开火。

那么,在信息7中“输入”容器的反面是什么呢?我试过“退出”、“离开”、“离开”,但都没有结果。它只会给出以下错误:

问题来了。您写了“退出冬眠球”,这似乎引入了一个规则生效>只有当动作是‘退出冬眠球’。但这对于描述一项>行动毫无意义.我不能把这条规则写进任何规则簿。

我已经翻阅了手册和例子,但没有任何帮助。我很高兴能找到一张能让7人理解的动词列表。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-07-15 01:38:32

关键字是"from“。

播放机不退出容器,播放机从退出容器。

下面是相同的代码,这一次使用的是"exiting“,它可以工作。

代码语言:javascript
复制
The Hibernation Chamber is a room. 
The Hibernation Pod is a container in the Hibernation Chamber. The Hibernation Pod is enterable and fixed in place. The description is "It looks just like the twenty or so others in the room, except the lid is open."
The player is in the Hibernation Pod. 
After exiting from the Hibernation Pod, say "You stand, blinking, and looking at two concentric arcs of identical, shiny white hibernation pods in a strange octagonally shaped room. The only break in the pods is for doors to the north and northeast. A bulky table with a clear top occupies the center of the two arcs of pods."
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/62906016

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档