Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

enumStruct([player[, structure type[, looking player]]])

Returns an array of structure objects. If no parameters given, it will return all of the structures for the current player. The second parameter can be either a string with the name of the structure type as defined in "structures.txt", or a .stattype. The third parameter can be used to filter by visibility, the default is not to filter.