BIS fnc createObjectOO: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
||
Line 16: | Line 16: | ||
|r1= [[Logic]] - Created logic object | |r1= [[Logic]] - Created logic object | ||
|x1= <code>["someOOClass", [1,2,3]] call | |x1= <code>["someOOClass", [1,2,3]] call BIS_fnc_createObjectOO;</code> | ||
|seealso= [[BIS_fnc_addClassOO]] [[BIS_fnc_validateParametersOO]] | |seealso= [[BIS_fnc_addClassOO]] [[BIS_fnc_validateParametersOO]] | ||
}} | }} |
Revision as of 21:36, 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:
["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