SetTile(location, int, int, int, int)
From NWN Lexicon
Jump to navigationJump to searchChange a tile in an area, it will also update the tile for all players in the area.
Parameters
- locTile
- The tile location.
- nTileID
- The tileID reference into the .set file.
- nOrientation
- The orientation of the tile, 0-3.
0 = Normal orientation 1 = 90 degrees counterclockwise 2 = 180 degrees counterclockwise 3 = 270 degrees counterclockwise
- nHeight
- The height of the tile.
- nFlags
- A bitmask of the SETTILE_FLAG_* constants.
- SETTILE_FLAG_RELOAD_GRASS: reloads the area's grass, use if your tile used to have grass or should have grass now. - SETTILE_FLAG_RELOAD_BORDER: reloads the edge tile border, use if you changed a tile on the edge of the area. - SETTILE_FLAG_RECOMPUTE_LIGHTING: recomputes the area's lighting and static shadows, use most of time.
Description
Change a tile in an area, it will also update the tile for all players in the area.
* Notes: - For optimal use you should be familiar with how tilesets / .set files work. - Will not update the height of non-creature objects. - Creatures may get stuck on non-walkable terrain.
Remarks
Version
This function was added in 1.86.8193.35 of NWN:EE.
Example
See Also
functions: | GetTileHeight() GetTileID() GetTileOrientation() SetTileAnimationLoops() SetTileJson() |
author: Shadguy