BIS fnc createObjectOO: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "(Optional, default [])" to "(Optional, default {{hl|[]}})")  | 
				Lou Montana (talk | contribs)  m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )O([a-z])" to "$1o$3")  | 
				||
| Line 12: | Line 12: | ||
|p1= class: [[String]] - Class for the OO scripting shell {{Feature|important|Class has to exist in CfgOO}}  | |p1= class: [[String]] - Class for the OO scripting shell {{Feature|important|Class has to exist in CfgOO}}  | ||
|p2= params: [[Array]] - (Optional, default {{hl|[]}})   | |p2= params: [[Array]] - (Optional, default {{hl|[]}}) optional parameters for constructor  | ||
|r1= [[Logic]] - Created logic object  | |r1= [[Logic]] - Created logic object  | ||
Revision as of 12:31, 8 November 2023
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:
 
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