BIS fnc addClassOO: 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 - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
|version1= 1.00


|1.00
|gr1= OO


|gr1 = OO
|descr= Registering a class for the OO scripting shell.


| Registering a class for the OO scripting shell.
|s1= class call [[BIS_fnc_addClassOO]]


| class call [[BIS_fnc_addClassOO]]
|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}}
|r1= [[Nothing]]


| [[Nothing]]
|x1= <sqf>"someOOClass" call BIS_fnc_addClassOO;</sqf>
 
|x1= <code>"someOOClass" [[call]] [[BIS_fnc_addClassOO]];</code>


|seealso= [[BIS_fnc_createObjectOO]]
|seealso= [[BIS_fnc_createObjectOO]]
}}
}}

Latest revision as of 14:59, 8 November 2023

Hover & click on the images for description

Description

Description:
Registering a class for the OO scripting shell.
Execution:
call
Groups:
OO

Syntax

Syntax:
class call BIS_fnc_addClassOO
Parameters:
class: String - class for the OO scripting shell
Class has to exist in CfgOO
Return Value:
Nothing

Examples

Example 1:
"someOOClass" call BIS_fnc_addClassOO;

Additional Information

See also:
BIS_fnc_createObjectOO

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