Template:I BaseEntity:zh-cn: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) mNo edit summary |
1416006136 (talk | contribs) mNo edit summary |
||
Line 7: | Line 7: | ||
{{IO|AddContext添加到实体的[[Response System|Response Contexts/响应上下文]]列表。格式是<code><key>:<value></code>.|param=string}} | {{IO|AddContext添加到实体的[[Response System|Response Contexts/响应上下文]]列表。格式是<code><key>:<value></code>.|param=string}} | ||
{{IO|[[AddOutput]]|在此实体上分配新的键值/输出。对于键值,有些依赖于额外的必要代码来运行,如果它只是通过这个输入改变就行不通。必须遵循严格的格式:{{ExpandBox|<syntaxhighlight lang="PowerShell"> | {{IO|[[AddOutput]]|在此实体上分配新的键值/输出。对于键值,有些依赖于额外的必要代码来运行,如果它只是通过这个输入改变就行不通。必须遵循严格的格式:{{ExpandBox|<syntaxhighlight lang="PowerShell"> | ||
// | // 更改键值的格式: "AddOutput [键] [值]" | ||
//// 原始文本: | //// 原始文本: | ||
"OnUser1" "!self,AddOutput,targetname new_name" | "OnUser1" "!self,AddOutput,targetname new_name" | ||
// 添加输出的格式: "AddOutput { | // 添加输出的格式: "AddOutput {目标名称}:{输入名称}:{参数}:{延迟}:{最大触发次数,-1 表示无限}" | ||
//// 原始文本: | //// 原始文本: | ||
"OnUser1" "!self:SetParent:!activator:0.0:-1" | "OnUser1" "!self:SetParent:!activator:0.0:-1" |
Revision as of 21:29, 27 August 2021
The above documentation is transcluded from Template:I BaseEntity:zh-cn/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.