User Tools

Site Tools


modding:function:typgetglobaldata

Discuss this page on this pages TalkPage

typGetGlobalData

See typGetGlobalData at Xelerus

Syntax (typGetGlobalData 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 global data of the given type.

Example

(typGetGlobalData &itSolarPanelArray; "rincost")

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

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