Fandom

武装突袭 Wiki

Briefing

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

The briefing is an essential part of any mission. It usually displays a synopsis of what to do to complete the mission.

Prior to Arma 2, briefings were constructed via a Briefing.html file.

Briefings in Arma 2编辑

Adding Notes编辑

Example:

player createDiaryRecord ["Diary", ["Situation", "Things are looking bad."]];

This adds a note called 'Situation', and when you click on that a bigger message screen comes up with the message 'Things are looking bad.'

Adding Tasks编辑

Example:

tskExample1 = player createSimpleTask ["Task Message"];
tskExample1 setSimpleTaskDescription ["Task Message", "Task Title", "Task HUD Title"];
tskExample1 setSimpleTaskDestination (getMarkerPos "mkrObj1"); //Make sure you have an empty marker called 'mkrObj1', 
          // and you'll see a semi-transparant circular marker which will light up when you set the task as active.


In your diary, "Task Title" is displayed for each task you set, and when you click on each task, it's "Task Message" appears. And "Task HUD Title" is what gets shown on the HUD.

We force a task upon a player by executing this on his machine:

player setCurrentTask tskExample1; // This will highlight the objective marker, and show him the through the HUD where the objective is.

We alter the task status during the mission by the following options:

tskExample1 setTaskState "SUCCEEDED"; // Makes the checkbox green
tskExample1 setTaskState "FAILED"; // Puts a red cross in the checkbox
tskExample1 setTaskState "CANCELED"; // Puts a grey diagonal line through the checkbox
tskExample1 setTaskState "CREATED"; // Clears the checkbox (makes it look like you've just created it)

You can show the state of the task with the taskHint command, or for an alternative method see http://www.ofpec.com/forum/index.php?topic=33768.0 .

Formatting tags for tasks and notes编辑

There are many formatting tags that can be incorporated in the strings for tasks and notes:

  • To add a link to a marker: <marker name='obj1'>Link to Marker</marker>
  • To show an image: <img image='somePic.jpg'/>
    • Manipulate the image width and height like so: <img image='somePic.jpg' width='200' height='200'/>

更多维基

随机维基