Table of Contents

Method SetTileExplored

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

SetTileExplored(NwArea, int, int, bool)

Gets whether the given area tile is visible on the map for this creature.
Tile exploration also controls object visibility in areas and the fog of war for interior and underground areas.

public bool SetTileExplored(NwArea area, int x, int y, bool newState)

Parameters

area NwArea

The area containing the tile.

x int

The location of the tile on the x axis.

y int

The location of the tile on the y axis.

newState bool

The new exploration state for this tile (true = explored, false = unexplored).

Returns

bool

The exploration state before newState. True if this creature has explored this tile, otherwise false.