Other great resources: Official JS API docs, Scripting Forum

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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.

  • No labels