setEditorObjectScope: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
Line 18: Line 18:


"subordinatesAlso" is a boolean value. If true then subordinates in the editor will be assigned the same scope as the parent.
"subordinatesAlso" is a boolean value. If true then subordinates in the editor will be assigned the same scope as the parent.
{{Informative | Some Old Editor Command}}
{{Feature | Informative | Some Old Editor Command}}


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

Revision as of 00:09, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Game 2 Editor

Syntax

Syntax:
Syntax needed
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:
Return value needed

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