setEditorObjectScope: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " | }}" to " }}")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 42: Line 42:
|x2= <code>((findDisplay 128) displayCtrl 51) [[setEditorObjectScope]] [ ["_unit_0"], "", "true", "ALLNODRAG", false]</code>
|x2= <code>((findDisplay 128) displayCtrl 51) [[setEditorObjectScope]] [ ["_unit_0"], "", "true", "ALLNODRAG", false]</code>


| [[addEditorObject]] [[deleteEditorObject]] [[findEditorObject]] [[getEditorObjectScope]] [[insertEditorObject]]
|seealso= [[addEditorObject]] [[deleteEditorObject]] [[findEditorObject]] [[getEditorObjectScope]] [[insertEditorObject]]
}}
}}



Revision as of 00:03, 17 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:
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