BIS fnc createObjectOO: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\[\[Category\:Function Group\: OO(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 38: Line 38:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: OO|{{uc:createObjectOO}}]]
 
[[Category:Functions|{{uc:createObjectOO}}]]
[[Category:Functions|{{uc:createObjectOO}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:createObjectOO}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:createObjectOO}}]]

Revision as of 14:25, 12 October 2020

Hover & click on the images for description

Description

Description:
Instantiates an object of a certain class.
Execution:
call
Groups:
OO

Syntax

Syntax:
[class,params] call BIS_fnc_createObjectOO
Parameters:
class: String - Class for the OO scripting shell
Class has to exist in CfgOO
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

See also:
BIS_fnc_addClassOOBIS_fnc_validateParametersOO

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


Notes

Bottom Section