BIS fnc addClassOO: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


|gr1 = OO |GROUP1=
|gr1 = OO


| Registering a class for the OO scripting shell. |Description=
| Registering a class for the OO scripting shell.


| class call [[BIS_fnc_addClassOO]] |Syntax=
| class call [[BIS_fnc_addClassOO]]




|p1= class: [[String]] - Class for the OO scripting shell {{Important|Class has to exist in CfgOO}}|Parameter 1=
|p1= class: [[String]] - Class for the OO scripting shell {{Important|Class has to exist in CfgOO}}


| [[Nothing]] |Return value=
| [[Nothing]]


|x1= <code>"someOOClass" [[call]] [[BIS_fnc_addClassOO]];</code>|Example 1=
|x1= <code>"someOOClass" [[call]] [[BIS_fnc_addClassOO]];</code>




| [[BIS_fnc_createObjectOO]] |See also=
| [[BIS_fnc_createObjectOO]]
}}
}}



Revision as of 22:35, 17 January 2021

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


Bottom Section