使用方法(具名回调) - Natsukage/PostNamazu GitHub Wiki
此方法将执行动作的指令直接注册到 Triggernometry 的具名回调中,并可以由触发器直接调用。
鲶鱼精邮差本身不需要任何特别设置,只需在 ACT 插件列表中加载顺序位于 FFXIV_ACT_Plugin(解析插件)与 Triggernometry 之后即可。
此方法仅限配合同一个 ACT 进程下的 Triggernometry 使用;未安装 Triggernometry 的情况下会自动禁用。
Tip
此方法与 HTTP 端口无关。
如果你没有在使用 ACT 以外的程序调用鲶鱼精邮差,则完全不需要开启 HTTP 端口选项。
Warning
鲶鱼精邮差仅会对 1.2.0.1 版本以上的 Triggernometry 注册回调,更旧的版本不适配 FFXIV 7.0,请尽快更新。
在 Triggernometry 中添加触发器,新建或编辑动作,动作类型为「具名回调操作」。
-
回调名称:
command
、place
、mark
等指令,代表要执行的发送指令、场地标点、实体标记等动作类型。 -
回调参数:
每种动作对应的参数,代表要执行的具体操作。
此外,在「具名回调操作」页面下点击「帮助」可以查阅到一段鲶鱼精邮差的使用小抄,以便随时参考。
详见右侧侧边栏「支持指令」中每种指令的详细介绍,在此仅简短示范。
你可以复制此触发器,导入/粘贴进 Triggernometry 自行测试。
<TriggernometryExport PluginVersion="1.2.0.712">
<ExportedTrigger Enabled="true" Name="鲶鱼精邮差使用示例">
<Actions>
<Action OrderNumber="1" ActionType="Placeholder" Description="你可以右键测试每行动作(使用实时值),或双击查看动作参数。" DescriptionOverride="True" />
<Action OrderNumber="2" ActionType="Placeholder" Description="左侧的小箭头可以展开文本框为多行模式。" DescriptionOverride="True" />
<Action OrderNumber="3" ActionType="Placeholder" Description="· command 用于发送指令到 FFXIV。" DescriptionOverride="True" />
<Action OrderNumber="4" ActionType="Placeholder" Description=" 如发送默语消息:" DescriptionOverride="True" />
<Action OrderNumber="5" NamedCallbackName="command" NamedCallbackParam="/e Hello World!" ActionType="NamedCallback" />
<Action OrderNumber="6" ActionType="Placeholder" Description=" 如代替宏使用技能:" DescriptionOverride="True" />
<Action OrderNumber="7" NamedCallbackName="command" NamedCallbackParam="/ac 冲刺" ActionType="NamedCallback" />
<Action OrderNumber="8" ActionType="Placeholder" Description="· place 用于发送场地标点。" DescriptionOverride="True" />
<Action OrderNumber="9" ActionType="Placeholder" Description=" 如场地八方标点:" DescriptionOverride="True" />
<Action OrderNumber="10" NamedCallbackName="place" NamedCallbackParam="{
 "A": {"X": 100, "Z": 85.86, "Y": 0, "Active": true},
 "B": {"X": 114.14,"Z": 100, "Y": 0, "Active": true},
 "C": {"X": 100, "Z": 114.14,"Y": 0, "Active": true},
 "D": {"X": 85.86, "Z": 100, "Y": 0, "Active": true},
 "One": {"X": 110, "Z": 90, "Y": 0, "Active": true},
 "Two": {"X": 110, "Z": 110, "Y": 0, "Active": true},
 "Three": {"X": 90, "Z": 110, "Y": 0, "Active": true},
 "Four": {"X": 90, "Z": 90, "Y": 0, "Active": true}
}
" ActionType="NamedCallback" />
<Action OrderNumber="11" ActionType="Placeholder" Description=" 如清空标点:" DescriptionOverride="True" />
<Action OrderNumber="12" NamedCallbackName="place" NamedCallbackParam="clear" ActionType="NamedCallback" />
<Action OrderNumber="13" ActionType="Placeholder" Description="· mark 用于发送实体标点。" DescriptionOverride="True" />
<Action OrderNumber="14" ActionType="Placeholder" Description=" 如给自己标记圆圈:" DescriptionOverride="True" />
<Action OrderNumber="15" NamedCallbackName="mark" NamedCallbackParam="{
 "ActorID": 0x${_me.id},
 "MarkType": "circle",
 "LocalOnly": false 
}" ActionType="NamedCallback" />
</Actions>
</ExportedTrigger>
</TriggernometryExport>
例:发送默语消息 "Hello World!"
-
回调名称:
command
-
回调参数:
/e Hello World!

-
Triggernometry 的官方 Wiki,包含 1.1.7.x 版本前的大部分功能介绍。
-
在 Triggernometry 触发器中使用
place
指令标点时,可以显著简化标点参数的工具。