showNewEditorObject (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:
- Show the add editor object dialog, type is editor object type, class is class definition to automatically select, side filters by a certain side, pos is position to create the object.
Syntax
- Syntax:
- showNewEditorObject [type, class, side, position]
- Parameters:
- map: Control -
- type: String -
- side: Side -
- position: Position -
- Return Value:
- Anything
Examples
- Example 1:
_map showNewEditorObject ['customobject','default',sideLogic,[0,0,0]]
Additional Information
- Multiplayer:
- Behaviour unknown.

