武装突袭 Wiki
Advertisement
  

点击图片可看到更多讯息

开始使用于

游戏:
Armed Assault
版本:
1.00

描述

描述:
Draws a single line arrow on the map.

基本句法

句法:
map drawArrow [from, to, color]
参数:
map: Control
[from, to, color]: Array
from: Array or Object - arrow start position in format: Position2D, Position3D or Object
to: Array or Object - arrow end position in format: Position2D, Position3D or Object
color: Array - arrow color in format [r,g,b,a]
返回值:
Nothing

范例

范例1:
findDisplay 12 displayCtrl 51 ctrlAddEventHandler ["Draw", { _this select 0 drawArrow [ player, player getRelPos [100, 0], [1,0,0,1] ]; }];

额外资讯

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

注意事项

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

Notes

Bottom Section

Posted on July 7, 2015 - 21:28 (UTC)
Waffle SS.
Be careful when using this command. Unlike map markers, the draw commands can decrease your framerate.
Advertisement