getObjectArgument: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
| Return name of object argument in mission editor. | | Return name of object argument in mission editor. | ||
{{Informative | Some Old Editor Command}} |= | {{Informative | Some Old Editor Command}} |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| map '''getObjectArgument''' [object, argument] |= | | map '''getObjectArgument''' [object, argument] |SYNTAX= | ||
|p1= map: [[Control]] |PARAMETER1= | |p1= map: [[Control]] |PARAMETER1= |
Revision as of 14:40, 7 April 2019
Description
- Description:
- Return name of object argument in mission editor.
- Groups:
- Uncategorised
Syntax
- Syntax:
- map getObjectArgument [object, argument]
- Parameters:
- map: Control
- object: Object
- argument: String
- Return Value:
- String
Examples
- Example 1:
// returns string "[1009.0351, 1319.4928]" (findDisplay 128 displayCtrl 51) getObjectArgument ["_unit_1", "POSITION"] // returns array [1009.0351, 1319.4928] (findDisplay 128 displayCtrl 51) evalObjectArgument ["_unit_1", "POSITION"]
Additional Information
- See also:
- See also needed
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