Fandom

武装突袭 Wiki

BIS_fnc_taskDefend

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
Group will man nearby static defenses within a 100 metre radius of the defense position and guard the position. Some units will man weapons, others will patrol and the remainder will sit on the ground.

Syntax

Syntax:
[group,position] call BIS_fnc_taskDefend
Parameters:
group (Group)

position (Array)
Return Value:
Success Flag (Boolean)

Examples

Example 1:
[group this, getPos this] call bis_fnc_taskDefend

Additional Information

Execution:
call
Multiplayer:
-
See also:

Functions Library

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

The easiest way to use this function is to create a group, then add the following code to the group leader's init field:

[group this, getPos this] call BIS_fnc_taskDefend;

The more correct way is to:

1. Place function module on map

2. Make one waypoint for group and put this code in Waypoints On.Act. field

nul=[group this, position this] call BIS_fnc_taskDefend;

2.1 You can use triggers for this function too, but your groups must be named

nul=[group GrpName2, position GrpName2] call BIS_fnc_taskDefend; nul=[group GrpName1, position GrpName1] call BIS_fnc_taskDefend


Bottom Section

更多维基

随机维基