Fandom

武装突袭 Wiki

CreateDiaryLink

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

  

点击图片可看到更多讯息

开始使用于

游戏:
Arma 2
版本:
1.00

描述

描述:
Create a link to the section of diary given by subject. Record is selected based on given object (diary record,task or unit).

基本句法

句法:
createDiaryLink [subject,object,text]
参数:
[subject,object,text]: Array -
返回值:
String

范例

范例1:
_link = createDiarySubject ["Group",player,"Player"]

范例2:
diaryRec1 = player createDiaryRecord ["diary", ["Record 1", "We can't refer to next record (("]]; diaryRec2 = player createDiaryRecord ["diary", ["Record 2", "Got to " + (createDiaryLink ["Diary", diaryRec1, "record 1"])]]; diaryRec3 = player createDiaryRecord ["diary", ["Record 3", "Got to " + (createDiaryLink ["Diary", diaryRec2, "record 2"])]];

范例3:
funcProcessDiaryLink = {

   processDiaryLink createDiaryLink ["diary", _this, ""];

}; diaryRec1 = player createDiaryRecord ["diary", ["Record 1",

   "In this example, we can go to any next record: go to <execute expression='diaryRec2 call funcProcessDiaryLink'>Record 2</execute>"

]]; diaryRec2 = player createDiaryRecord ["diary", ["Record 2",

   "Go to <execute expression='diaryRec3 call funcProcessDiaryLink'>Record 3</execute>"

]]; diaryRec3 = player createDiaryRecord ["diary", ["Record 3",

   "Go to <execute expression='diaryRec1 call funcProcessDiaryLink'>Record 1</execute>"

]];

额外资讯

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

processDiaryLinkcreateDiaryRecordcreateDiarySubjectdiarySubjectExists

注意事项

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

Notes

Bottom Section

更多维基

随机维基