Fandom

武装突袭 Wiki

KbAddTopic

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 分享

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

  

点击图片可看到更多讯息

开始使用于

游戏:
Arma 2
版本:
1.00

描述

描述:
Register conversation topic to given person.

基本句法

句法:
person kbAddTopic [TopicName, filename.bikb, filename.fsm, event_handler]
参数:
person: Object

[TopicName, filename.bikb, filename.fsm, event_handler]: Array

TopicName: String -

filename.bikb: String - Must exist. bikb file name.

filename.fsm: String - Optional. Can be empty string. fsm file name

event_handler: Code or String - Optional. New to Arma2.

The event handler receives parameters:

_sentenceId: the sentence as defined in the .bikb file

_topic: TopicName registered via kbAddTopic

_this: the person that was talked to (receiver)

_from: the person that talked to the receiver and triggered the script

返回值:
Nothing

范例

范例1:
player kbAddtopic["myTest", "myTest.bikb", "myTest.fsm", {call compile preprocessFileLineNumbers "myTest.sqf"}];

额外资讯

多人游戏:
-
也可以看看:

kbRemoveTopickbHasTopickbTellFSM

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Mikero

  • .bikb extension is by convention only. It can be anything.
  • There is no default extension.
  • Even tho bikb's are standard class text they cannot be raPified.

Bottom Section

更多维基

随机维基