Functions Documentation
View Function Edit Function
Name typGetStaticData
Syntax (typGetStaticData number string)
Argument List number: The UNID of the type you want to get the data from.
string: The name of the data you want to get.
Returns The data named by the string for the given type. Returns Nil if there is no data as named by the string.
Category type, data, 0.99, unid
Description Returns the named static data of the given type.
(typGetStaticData &itSolarPanelArray; "rincost")

Returns the data that is in the "rincost" static data in the itSolarPanelArray type.
Comment Very useful for getting data from design types.
The design types are
ItemType, Shipclass, StationType, Image, Sovereign, DockScreen, EncounterTable, Effect, Sound,ItemTable, and SystemType.