Fandom

武装突袭 Wiki

BIS_fnc_drawAO

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:
Draws a dashed line around the outer edges of a trigger.

Syntax

Syntax:
[[triggerName],''distance''] call BIS_fnc_drawAO;
Parameters:
Array - List of triggers that indicate AO.

  • Trigger - Single trigger's name that indicates AO. Alternative if only one AO is used.

Number - Number that decides distance between each new line drawn. (Optional, default 50)
Return Value:
Nothing

Examples

Example 1:
[Trigger1] call BIS_fnc_drawAO; // Draws a dashed line around trigger1's outer edge, with 50m between each line.

Example 2:
[Trigger1,10] call BIS_fnc_drawAO; // Draws a dashed line around trigger1's outer edge, with 10m between each line.

Example 3:
[[Trigger1,Trigger2]] call BIS_fnc_drawAO; // Draws dashed lines around multiple triggers, useful for multiple AOs in one mission.

Additional Information

Execution:
call
Multiplayer:
-
See also:

See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

Posted on September 28, 2014 - 17:16 (UTC)
Tryteyker-
It is worth noting that the size, color and other attributes that the line may have are dependant on the trigger itself. The crucial attributes for the function to work properly seem to be the following:
Activation: Anybody OR side player
Size: Has to be bigger than 50x50 to be visible (below 50x50 it will not work properly as the function increments in 50 for each new line)

The following attributes are saved by the function once it is called, all attributes originating from trigger:
_triggerPos = position _x; _triggerPosX = _triggerPos select 0; _triggerPosY = _triggerPos select 1; _triggerArea = triggerarea _x; _triggerSizeX = _triggerArea select 0; _triggerSizeY = _triggerArea select 1; _triggerSize = _triggerSizeX max _triggerSizeY; _triggerDir = _triggerArea select 2; _triggerType = _triggerArea select 3; _triggerText = triggerText _x; _triggerActivation = triggeractivation _x select 0; _triggerPresent = triggeractivation _x select 1;
This is taken directly from the function. Text will generally show up on the left hand side (inside the circle/rectangle) AND on the right hand side (outside the circle/rectangle). Size increments can be changed using _this select 1, another example provided above.

更多维基

随机维基