Skip to main content

Execute_SetDataLayerState

Description

Changes the state value of a DataLayer in World Partition.

Parameters

ParameterDescription
BaseObjectNot used (fixed to Self)
S1AssetPath of the DataLayer to apply
(ex: /Game/Data/DataLayers/Gangnam_Map/ShowMapMode.ShowMapMode)
S2DataLayer state value to apply: Activated (activate) or Loaded (deactivate)

Examples

DescriptionBaseObjectCommand
Activate the ShowMapMode DataLayerSelfSetDataLayerState
Deactivate the HideMapMode DataLayerSelfSetDataLayerState