Return tile name from a set of tiles
Smithicus
Member Posts: 21
Is there a command that provides a tile name from a tileset?
If I want to spawn skeletons in an area on only graveyard tiles, I would need to know in scripting what each tile name is. For example, the tno01 tileset [Castle Grounds] has a tile named tno01_o14_01 which is the [Graves 1] tile. Is there a 2DA that holds these tile names?
As an example, can this be determined by location?
string GetTileNameByLocation(location spot)
{
...
}
If I want to spawn skeletons in an area on only graveyard tiles, I would need to know in scripting what each tile name is. For example, the tno01 tileset [Castle Grounds] has a tile named tno01_o14_01 which is the [Graves 1] tile. Is there a 2DA that holds these tile names?
As an example, can this be determined by location?
string GetTileNameByLocation(location spot)
{
...
}
0
Comments
The usual approach is to mark each grave with a waypoint at which skeletons can be spawned.