setEditorObjectScope: 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 28: Line 28:
{{Feature | Informative | Some Old Editor Command}}
{{Feature | Informative | Some Old Editor Command}}


| map [[setEditorObjectScope]] [objects, editorType, condition, scope, subordinatesAlso]
|s1=  map [[setEditorObjectScope]] [objects, editorType, condition, scope, subordinatesAlso]


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

Revision as of 00:23, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Game 2 Editor

Syntax

Syntax:
map setEditorObjectScope [objects, editorType, condition, scope, subordinatesAlso]
Parameters:
map: Control -
[objects, editorType, condition, scope, subordinatesAlso]: Array -
objects: Array of Objects and/or Editor Objects
editorType: String
condition: String
scope: String
subordinatesAlso: Boolean
Return Value:
Nothing

Examples

Example 1:
_map setEditorObjectScope [ [],"vehicle", "side effectiveCommander _x != side player", "HIDE", false]
Example 2:
((findDisplay 128) displayCtrl 51) setEditorObjectScope [ ["_unit_0"], "", "true", "ALLNODRAG", false]

Additional Information

See also:
addEditorObject deleteEditorObject findEditorObject getEditorObjectScope insertEditorObject

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