Skip to content

Return tile name from a set of tiles

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)
{
...
}

Comments

  • ProlericProleric Member Posts: 1,316
    The tile names can't be read in game.

    The usual approach is to mark each grave with a waypoint at which skeletons can be spawned.
  • SmithicusSmithicus Member Posts: 21
    I was looking for dynamic ways to spontaneously generate encounters on specific tiles without waypoints. I'll have to use standard fare. Thank you!
Sign In or Register to comment.