API questionSolved

hi, bear with me.. im struggling to comprehend stuff.. 

i have added PluginReference, MonumentAdapter class, compiles fine, but the example shown is for API_GetClosest, and im wanting to use API_FindByShortName (i think) to get Outpost (compound)

im always getting null back and it could be a few things, im not sure what the shortname should be (compound, compound.prefab) 
the example returns a dict for API_GetClosest, when im expecting a list for API_FindByShortName, and im not quite sure how to handle that.. yet..

have you got any tips or an example for API_FindByShortName? 

cheers, thanks very much for all the plugins :)

never mind thanks, i read it properly.. :)

If you only want to find the Outpost monument (or other above ground vanilla monuments), I suggest simply looping TerrainMeta.Path.Monuments to find them. That will allow you to avoid the dependency on Monument Finder altogether. The main reasons to use Monument Finder are: (1) accurate monument bounds, (2) central definition for custom monument bounds, (3) support for train tunnels & underwater labs.

cool, thanks very much for that

Locked automatically