Fandom

武装突袭 Wiki

BIS_fnc_getCfgDataPool

简体 | 繁體

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:

/*

	Description:
	* Get array of attribute values out of the parent config class.
	* Attributes need to be in this format: "_n", where n is an index number (starting from 0).
	* If any discrepancy in indexing is detected, loading will stop and only the correctly indexed values will be returned.
	* Max. index supported is 99.
	* If more then 9 attributes used, 0-9 need to use leading zeroes.

	CFG example:

	class Timeline
	{
		class StageA
		{
			_0[] = {2035,7,7,04,30};
			_1[] = {2035,7,7,06,15};
			_2[] = {2035,7,7,18,35};
			_3[] = {2035,7,8,09,05};
			_4[] = {2035,7,8,13,25};
			_5[] = {2035,7,8,17,10};
			_6[] = {2035,7,8,21,40};
			_7[] = {2035,7,9,19,55};
		};
	};


	Remark(s):
	* Can by called 2 ways:
		* 1st way (general) works for any config.
		* 2nd way is for comfortable working with mission description.ext.

	Parameter(s):
		_this: CFG
		_this: ARRAY of STRINGS - missionConfigFile classes.

	Example:

	* 1st way of calling:

		_array = (configfile >> "BulletBubbles" >> "BulletBubbles1") call BIS_fnc_getCfgData;
		_array = (missionconfigfile >> "Timeline" >> "StageA") call BIS_fnc_getCfgData;

	* 2nd way of calling:

		_array = ["Timeline","StageA"] call BIS_fnc_getCfgData;

	Returns:
		ARRAY or nil, if parent class is not found
*/

(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

更多维基

随机维基