addEditorObject: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)]]" to "{{GameCategory|arma2|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Game 2 Editor |GROUP1= | |gr1= Game 2 Editor |GROUP1= | ||
| 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. | | 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. | ||
{{Informative | Some Old Editor Command}} |DESCRIPTION= | {{Informative | Some Old Editor Command}} |DESCRIPTION= | ||
| map '''addEditorObject''' [type,[name1,value1,...],subtype class] |SYNTAX= | | map '''addEditorObject''' [type,[name1,value1,...],subtype class] |SYNTAX= | ||
Line 25: | Line 22: | ||
|x1= - |Example 1= | |x1= - |Example 1= | ||
| [[Game 2 Editor]] |SEEALSO= | | [[Game 2 Editor]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 00:03, 17 January 2021
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:
- Game 2 Editor
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