BIS fnc createObjectOO: Difference between revisions
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")  | 
				Lou Montana (talk | contribs)  m (Text replacement - " {3,}\|" to "  |")  | 
				||
| Line 10: | Line 10: | ||
| [class,params] call [[BIS_fnc_createObjectOO]]  | | [class,params] call [[BIS_fnc_createObjectOO]]  | ||
|p1= class: [[String]] - Class for the OO scripting shell {{Important|Class has to exist in CfgOO}}  | |p1= class: [[String]] - Class for the OO scripting shell {{Important|Class has to exist in CfgOO}}  | ||
| Line 19: | Line 18: | ||
|x1= <code>["someOOClass", [1,2,3]] [[call]] [[BIS_fnc_createObjectOO]];</code>  | |x1= <code>["someOOClass", [1,2,3]] [[call]] [[BIS_fnc_createObjectOO]];</code>  | ||
| [[BIS_fnc_addClassOO]], [[BIS_fnc_validateParametersOO]]  | | [[BIS_fnc_addClassOO]], [[BIS_fnc_validateParametersOO]]  | ||
Revision as of 22:40, 18 January 2021
Description
Syntax
- Syntax:
 - [class,params] call BIS_fnc_createObjectOO
 - Parameters:
 - class: String - Class for the OO scripting shell
 - params: Array - (Optional, default []) Optional parameters for constructor
 - Return Value:
 - Logic - Created logic object
 
Examples
- Example 1:
 ["someOOClass", [1,2,3]] call BIS_fnc_createObjectOO;
Additional Information
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