BIS fnc createObjectOO: Difference between revisions
m (Text replacement - "\[\[Category\:Function Group\: OO(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")  | 
				Lou Montana (talk | contribs)  m (Text replacement - "_{10,} " to "")  | 
				||
| Line 1: | Line 1: | ||
{{Function|Comments=  | {{Function|Comments=  | ||
| arma3 |Game name=  | | arma3 |Game name=  | ||
| Line 7: | Line 6: | ||
|gr1 = OO |GROUP1=  | |gr1 = OO |GROUP1=  | ||
| Instantiates an object of a certain class.|Description=  | | Instantiates an object of a certain class.|Description=  | ||
| [class,params] call [[BIS_fnc_createObjectOO]] |Syntax=  | | [class,params] call [[BIS_fnc_createObjectOO]] |Syntax=  | ||
| Line 20: | Line 17: | ||
| [[Logic]] - Created logic object|Return value=  | | [[Logic]] - Created logic object|Return value=  | ||
|x1= <code>["someOOClass", [1,2,3]] [[call]] [[BIS_fnc_createObjectOO]];</code>|Example 1=  | |x1= <code>["someOOClass", [1,2,3]] [[call]] [[BIS_fnc_createObjectOO]];</code>|Example 1=  | ||
| [[BIS_fnc_addClassOO]], [[BIS_fnc_validateParametersOO]] |See also=  | | [[BIS_fnc_addClassOO]], [[BIS_fnc_validateParametersOO]] |See also=  | ||
Revision as of 22:42, 16 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