addEditorObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)]]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


|gr1= Game 2 Editor |GROUP1=
|gr1= Game 2 Editor |GROUP1=
____________________________________________________________________________________________


| Add an object to the editor and assign arguments. Create script is,called with _new equal to true. Returns the ID of the new EditorObject.,Subtype class is optional.  
| Add an object to the editor and assign arguments. Create script is,called with _new equal to true. Returns the ID of the new EditorObject.,Subtype class is optional.  
{{Informative | Some Old Editor Command}} |DESCRIPTION=
{{Informative | Some Old Editor Command}} |DESCRIPTION=
____________________________________________________________________________________________


| map '''addEditorObject''' [type,[name1,value1,...],subtype class] |SYNTAX=
| map '''addEditorObject''' [type,[name1,value1,...],subtype class] |SYNTAX=
Line 25: Line 22:
|x1= - |Example 1=
|x1= - |Example 1=


____________________________________________________________________________________________


| [[Game 2 Editor]] |SEEALSO=  
| [[Game 2 Editor]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 00:03, 17 January 2021

Hover & click on the images for description

Description

Description:
Add an object to the editor and assign arguments. Create script is,called with _new equal to true. Returns the ID of the new EditorObject.,Subtype class is optional.
Some Old Editor Command
Groups:
Game 2 Editor

Syntax

Syntax:
map addEditorObject [type,[name1,value1,...],subtype class]
Parameters:
map: Control -
[type,[name1,value1,...],subtype class]: Array
Return Value:
String

Examples

Example 1:
-

Additional Information

See also:
Game 2 Editor

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