execEditorScript: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1= Game 2 Editor | |gr1= Game 2 Editor | ||
| Execute an editor script for the specified object. | | Execute an editor script for the specified object. | ||
{{Informative | Some Old Editor Command}} | {{Informative | Some Old Editor Command}} | ||
| map '''execEditorScript''' [object,script] | | map '''execEditorScript''' [object,script] | ||
|p1= map: [[Control]] - | |p1= map: [[Control]] - | ||
|p2= [object,script]: [[Array]] - | |p2= [object,script]: [[Array]] - | ||
|p3 | |p3= | ||
| [[Any]] | | [[Any]] | ||
|x1= <code>_map [[execEditorScript]] ["_team_1","create"];</code> | |x1= <code>_map [[execEditorScript]] ["_team_1","create"];</code> | ||
| - | | - | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:33, 18 January 2021
Description
- Description:
- Execute an editor script for the specified object.
- Groups:
- Game 2 Editor
Syntax
- Syntax:
- map execEditorScript [object,script]
- Parameters:
- map: Control -
- [object,script]: Array -
- Return Value:
- Any
Examples
- Example 1:
_map execEditorScript ["_team_1","create"];
Additional Information
- See also:
- -
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