Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Introduced in

Version:1.19

Description

Description:Sets the default scope for the specified Editor Object type. Does not affect already created Editor Objects.

Syntax

Syntax:map setEditorTypeScope [objectType, scope]
Parameters:
  • map: Control - Map control.
  • objectType: String - Editor Object type.
  • scope: String - Can be:
    • "All": You can do anything with the given Editor Objects.
    • "AllNoCopy": You cannot copy the given Editor Objects.
    • "AllNoDrag": You cannot drag the given Editor Objects.
    • "AllNoTree": The given edObjs won't be Editor Objects are not visible in the Object Tree (upper right tab in OME/RTE)Scenario Objects Tree.
    • "AllNoCopyNoTree": You can't cannot copy the given edObjs Editor Objects, and they won't be do not appear in the tree (since 1Scenario Objects Tree (V1.22+).
    • "AllNoCopyNoTreeNoEdit": You can't cannot copy or edit the given edObjs Editor Objects, and they won't be visible do not appear in the tree (since 1Scenario Objects Tree (V1.22+).
    • "Hide": The given edObjs won't be visible at all (and by that, you won't be able to Editor Objects are invisible (you cannot change them in any way).
    • "LinkTo": You can only link to the given edObjsEditor Objects.
    • "LinkFrom": You can only link from the given edObjsEditor Objects.
    • "Select": You can only select the given edObjsEditor Objects.
    • "View": The given edObjs will only be Only the given Editor Objects are visible, no changes are possible.
Return Value:Nothing
  • Examples

Examples:
_map setEditorTypeScope ["marker","VIEW"];
  • Additional Information

See also: setDefaultScope, setEditorObjectScope
Multiplayer:
Problems:
  • Notes