addEditorObject: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
m (sa) |
||
Line 21: | Line 21: | ||
| [[String]] |= RETURNVALUE | | [[String]] |= RETURNVALUE | ||
|x1= <code>-</code>|Example 1= | |||
|x1= <code> | |||
</code>|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[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 | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 13:22, 13 June 2018
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.
- 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 EditoraddEditorObjectaddMenuItemallow3DModeallowFileOperationscloseOverlaycreateMenudeleteEditorObjectdrawLinkeditObjectfindEditorObjectgetEditorCameragetEditorModegetEditorObjectScopegetObjectChildrenimportAllGroupsinsertEditorObjectisShowing3DIconslistObjectsloadOverlaymoveObjectToEndnewOverlayonShowNewObjectremoveDrawIconremoveDrawLinksrestartEditorCameraselectEditorObjectsetDrawIcon
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