evalObjectArgument: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=")
Line 18: Line 18:
{{Feature | Informative | Some Old Editor Command}}
{{Feature | Informative | Some Old Editor Command}}


| map '''evalObjectArgument''' [object, argument]
|s1=  map '''evalObjectArgument''' [object, argument]


|p1= map: [[Control]]
|p1= map: [[Control]]

Revision as of 23:06, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Game 2 Editor

Syntax

Syntax:
map evalObjectArgument [object, argument]
Parameters:
map: Control
[object, argument]: Array
Return Value:
Anything

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:
setObjectArguments

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