Fandom

武装突袭 Wiki

BIS_fnc_subSelect

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:

/************************************************************
	Subarray Select

Returns a sub-selection of the passed array. There are various
methods the sub-array can be determined.

Parameters: [array, beg, <end>]
Returns: subarray

array - Array to select sub array from.
beg - Index of array to begin sub-array. If negative, index is
	counted from the end of array.
end - Optional. Index of array to end the sub-array. If ommitted,
	remainder of the array will be selected. If negative, it
	specifies the length of the sub-array (in absolute form).

Examples:

	_array = ["a","b",true,3,8];
	[_array, 2] call BIS_fnc_subSelect; //returns [true,3,8]
	[_array, -2] call BIS_fnc_subSelect; //returns [3,8]
	[_array, 1, 3] call BIS_fnc_subSelect; //returns ["b",true,3]
	[_array, 1, -2] call BIS_fnc_subSelect; //returns ["b",true]

************************************************************/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)

Example 1:</dt>
Example needed</dd>
See also:</dt>

See also needed</dd>

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

更多维基

随机维基