BIS fnc returnParents: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 30: Line 30:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>[configfile >> "CfgVehicles" >> "Land_FirePlace_F", true] call BIS_fnc_returnParents</code> |=  
|x1= <code>[configfile >> "CfgVehicles" >> "Land_FirePlace_F", true] call BIS_fnc_returnParents;
// ["Land_FirePlace_F","House_F","House","HouseBase","NonStrategic","Building","Static","All"]</code> |=  
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:26, 15 April 2016


Hover & click on the images for description

Description

Description:
/*

	Description:
	Returns list of all parent classes
	
	Parameter(s):
	_this select 0: starting config class (Config)
	_this select 1: true if you want to return only classnames (Boolean)
	
	Returns:
	Array - List of all classes (including starting one)
*/
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:
[configfile >> "CfgVehicles" >> "Land_FirePlace_F", true] call BIS_fnc_returnParents; // ["Land_FirePlace_F","House_F","House","HouseBase","NonStrategic","Building","Static","All"]

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section