Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:

Inserts an object in the Editor, and assigns arguments.

Note: Create script is not called.

Syntax

Syntax:map insertEditorObject [type, object, [name1, value1, ...], subtype class]
Parameters:
  • map: Control - Map control.
  • object: Object - The game object the created Editor Object should be assigned to.
  • type: String - Type of editor objects to create. See Object Types for available types.
  • subtype: String - Some editor object types allow sub-types, which would be defined here (optional).
Return Value:Editor Object - Created Editor Object.

Examples

Examples:
_edObj = _map insertEditorObject ["trigger",_obj,["POSITION",str _pos]]

Additional Information

See also: addEditorObject
Multiplayer: 
Problems: 

Notes