BIS fnc createObjectOO: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
Line 5: Line 5:
|1.00
|1.00


|gr1 = OO
|gr1= OO


| Instantiates an object of a certain class.
| Instantiates an object of a certain class.

Revision as of 12:16, 11 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
OO

Syntax

Syntax:
Syntax needed
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:
Return value needed

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