BIS_fnc_createObjectOO

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:
Instantiates an object of a certain class.

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

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_addClassOOBIS_fnc_validateParametersOO

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To


Notes

Bottom Section