BIS fnc getCfgDataObject: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |p1= |x1= }}" to " }}") |
Lou Montana (talk | contribs) m (Text replacement - " \|s1= <!-- ([^ ]+); --> \}\}" to " |s1= <!-- $1 --> |r1= |x1= <!-- <code>$1;</code> --> |seealso= }} ") |
||
Line 36: | Line 36: | ||
{{Wiki|placeholder}} | {{Wiki|placeholder}} | ||
|s1= <!-- [] call [[BIS_fnc_getCfgDataObject]]; --> | |s1= <!-- [] call [[BIS_fnc_getCfgDataObject]] --> | ||
|r1= | |||
|x1= <!-- <code>[] call [[BIS_fnc_getCfgDataObject]];</code> --> | |||
|seealso= | |||
}} | }} |
Revision as of 01:40, 13 June 2021
Description
- Description:
/* Description: Get the object defined in cfg by its name (global variable). 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 and an attribute. Example: * 1st way of calling: _value = (missionconfigfile >> "Hubs" >> "A1" >> "QuickStart" >> "trigger") call BIS_fnc_getCfgDataObject; * 2nd way of calling: _value = ["Hubs","A1","QuickStart","trigger"] call BIS_fnc_getCfgDataObject; Returns: OBJECT or OBJNULL */
- Execution:
- call
- Groups:
- Configs
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Examples:
- Example needed
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