addEditorObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (sa)
m (example and seealso)
Line 21: Line 21:
| [[String]] |= RETURNVALUE  
| [[String]] |= RETURNVALUE  


|x1= <code>-</code>|Example 1=
|x1= - |Example 1=


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Game 2 Editor]],[[Category:Command Group: Editor Control]],[[addEditorObject]],[[addMenuItem]],[[allow3DMode]],[[allowFileOperations]],[[closeOverlay]],[[createMenu]],[[deleteEditorObject]],[[drawLink]],[[editObject]],[[findEditorObject]],[[getEditorCamera]],[[getEditorMode]],[[getEditorObjectScope]],[[getObjectChildren]],[[importAllGroups]],[[insertEditorObject]],[[isShowing3DIcons]],[[listObjects]],[[loadOverlay]],[[moveObjectToEnd]],[[newOverlay]],[[onShowNewObject]],[[removeDrawIcon]],[[removeDrawLinks]],[[restartEditorCamera]],[[selectEditorObject]],[[setDrawIcon]] |= SEEALSO  
| [[Game 2 Editor]],[[Category:Command Group: Editor Control|Game 2 Editor Commands]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 13:23, 13 June 2018

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:
Uncategorised

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