BIS fnc createObjectOO: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=") |
||
Line 9: | Line 9: | ||
| Instantiates an object of a certain class. | | Instantiates an object of a certain class. | ||
| [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 15:55, 12 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- OO
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