addEditorObject (VBS2)
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Virtual Battlespace 2
- Version:
- 1.00
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.
Syntax
- Syntax:
- map addEditorObject [type, [name1, value1, ...], subtype class]
- Parameters:
- map: Control -
- Return Value:
- String
Examples
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- insertEditorObject

