Home › Enums › RevealedState

Available out of the box. Usable from Lua in the unmodified game.

RevealedState

Lua constant table RevealedState. Engine enum: GameCore::RevealedState.

The table name and the Lua key column come from the Civilization VI Modding Companion (ChimpanG, expanded and maintained by WildW). The engine names and values come from the game library's debug info. Every member the Companion lists has the same value in the engine enum, which is how the two were matched.

3 of 6 engine members are listed by the Companion. The others exist in the engine, but we do not know whether Lua exposes them, so use the Lua key column as the safe set.

Lua key Engine name Value
not listed NOT_REVEALED 0
not listed REVEALED_INVISIBLE 1
VISIBLE REVEALED_VISIBLE 2
HIDDEN HIDDEN 0
REVEALED REVEALED 1
not listed VISIBLE 2