BIS fnc createObjectOO: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")  | 
				Lou Montana (talk | contribs)  m (Text replacement - " |s1=[" to " |s1= [")  | 
				||
| Line 8: | Line 8: | ||
|descr= Instantiates an object of a certain class.  | |descr= Instantiates an object of a certain class.  | ||
|s1=[class,params] call [[BIS_fnc_createObjectOO]]  | |s1= [class,params] call [[BIS_fnc_createObjectOO]]  | ||
|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}}  | ||
Revision as of 23:11, 12 July 2022
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