BIS fnc returnParents: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function " to "{{RV|type=function ")
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
Line 28: Line 28:




[[Category:Functions|{{uc:returnParents}}]]
 
[[Category:{{Name|arma2}}: Functions|{{uc:returnParents}}]]
[[Category:{{Name|arma2}}: Functions|{{uc:returnParents}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:returnParents}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:returnParents}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:returnParents}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:returnParents}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:returnParents}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:returnParents}}]]

Revision as of 03:04, 2 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Configs

Syntax

Syntax:
Syntax needed
Parameters:
config: Config - Starting config class
onlyClassNames: Boolean - (Optional, default false) true to return only class names
Return Value:
Return value needed

Examples

Example 1:
[ configFile >> "CfgVehicles" >> "Land_FirePlace_F", true ] call BIS_fnc_returnParents; //Returns ["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