|
NWNX:EE
8193.36.12
|
|
Go to the documentation of this file.
7 const string NWNX_Tileset =
"NWNX_Tileset";
A structure containing custom tile data,.
int bInterior
The type of tileset. TRUE for interior, FALSE for exterior.
int NWNX_GetReturnValueInt()
Returns the specified type from the c++ side.
string sBottomLeft
The bottom left corner.
string sDefaultTerrain
The default terrain of the tileset.
A structure containing general tileset data.
string NWNX_Tileset_GetTileMinimapTexture(string sTileset, int nTileID)
Get the minimap texture name of a tile in sTileset.
int nTileID
The tile ID. See the tileset's .set file.
string sTopLeft
The top left corner.
string NWNX_Tileset_GetTilesetCrosser(string sTileset, int nIndex)
Get the name of sTileset's crosser at nIndex.
struct NWNX_Tileset_TileDoorData NWNX_Tileset_GetTileDoorData(string sTileset, int nTileID, int nIndex=0)
Get the door data of a tile in sTileset.
struct NWNX_Tileset_TileEdgesAndCorners NWNX_Tileset_GetTileEdgesAndCorners(string sTileset, int nTileID)
Get the edges and corners of a tile in sTileset.
string NWNX_Tileset_GetTilesetTerrain(string sTileset, int nIndex)
Get the name of sTileset's terrain at nIndex.
string sBottomRight
The bottom right corner.
void NWNX_Tileset_SetAreaTileOverride(string sAreaResRef, string sOverrideName)
Override the tiles of sAreaResRef with data in sOverrideName.
float fZ
The Z position of the door.
int nNumGroups
The number of groups in the tileset.
void NWNX_Tileset_SetOverrideTileData(string sOverrideName, int nIndex, struct NWNX_Tileset_CustomTileData strCustomTileData)
Set custom tile data for the tile at nIndex in sOverrideName.
string sName
The name of the group.
string sLeft
The left edge.
int bAnimLoop3
A bool to enable or disable the tile's third anim loop.
int bHasHeightTransition
TRUE if the tileset supports multiple height levels. FALSE if not.
int nRows
The number of rows the group has.
int nMainLightColor1
A TILE_MAIN_LIGHT_COLOR_* value.
int nOrientation
The orientation of the tile. Valid values: 0-3.
void NWNX_Tileset_DeleteTileOverride(string sOverrideName)
Delete a tile override named sOverrideName.
A structure containing the group data for a tileset.
int nSourceLightColor1
A TILE_SOURCE_LIGHT_COLOR_* value.
float NWNX_GetReturnValueFloat()
Returns the specified type from the c++ side.
int nStrRef
The StrRef of the group.
int NWNX_Tileset_GetTileNumDoors(string sTileset, int nTileID)
Get the number of doors of a tile in sTileset.
void NWNX_CallFunction(string pluginName, string functionName)
Scripting interface to NWNX.
string NWNX_GetReturnValueString()
Returns the specified type from the c++ side.
void NWNX_PushArgumentString(string value)
Pushes the specified type to the c++ side.
int nNumCrossers
The number of crossers in the tileset.
struct NWNX_Tileset_TilesetData NWNX_Tileset_GetTilesetData(string sTileset)
Get general data of sTileset.
float fHeightTransition
The height difference between tiles on different heights.
string sTopRight
The top right corner.
void NWNX_Tileset_CreateTileOverride(string sOverrideName, string sTileSet, int nWidth, int nHeight)
Create a tile override named sOverrideName.
void NWNX_PushArgumentInt(int value)
Pushes the specified type to the c++ side.
int bAnimLoop2
A bool to enable or disable the tile's second anim loop.
int nMainLightColor2
A TILE_MAIN_LIGHT_COLOR_* value.
string sBorderTerrain
The default border terrain of the tileset.
int nNumTileData
The number of tiles in the tileset.
string sBottom
The bottom edge.
int nSourceLightColor2
A TILE_SOURCE_LIGHT_COLOR_* value.
float fY
The Y position of the door.
int nHeight
The height of the tile.
string sUnlocalizedName
The unlocalized name of the tileset, "" if not set.
float fOrientation
The orientation of the door.
string sRight
The right edge.
string NWNX_Tileset_GetTileModel(string sTileset, int nTileID)
Get the model name of a tile in sTileset.
int NWNX_Tileset_GetTilesetGroupTile(string sTileset, int nGroupIndex, int nTileIndex)
Get the tile ID at nTileIndex in nGroupIndex of sTileset.
float fX
The X position of the door.
int nType
The type of door, returns an index into doortypes.2da.
int nDisplayNameStrRef
The name of the tileset as strref, -1 if not set.
int nColumns
The number of columns the group has.
string sFloorTerrain
The default floor terrain of the tileset.
A structure containing the door data for a tile.
void NWNX_Tileset_DeleteOverrideTileData(string sOverrideName, int nIndex)
Delete custom tile data of the tile at nIndex in sOverrideName.
int bAnimLoop1
A bool to enable or disable the tile's first anim loop.
int nNumTerrain
The number of terrains in the tileset.
struct NWNX_Tileset_TilesetGroupData NWNX_Tileset_GetTilesetGroupData(string sTileset, int nIndex)
Get general data of the group at nIndex in sTileset.
A structure containing the edge and corner types of a tile.