User Tools

Site Tools


modding:function:typgetstaticdata

Discuss this page on this pages TalkPage

typGetStaticData

See typGetStaticData at Xelerus

Syntax (typGetStaticData number string)
Arguments 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 0.99, data, type, unid
Description Returns the named static data of the given type.

Example

(typGetStaticData &itSolarPanelArray; "rincost")

Returns the data that is in the “rincost” static data in the itSolarPanelArray type. Return to Functions list

modding/function/typgetstaticdata.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1