User Tools

Site Tools


modding:function:typsetglobaldata

Discuss this page on this pages TalkPage

typSetGlobalData

See typSetGlobalData at Xelerus

Syntax (typSetGlobalData number string expression)
Arguments number: The UNID of the type you want to set the data of.
string: The name of the data you want to set.
expression: The value that the data will be.
Returns True if successful.
Category 0.99, data, type, unid
Description Sets the data in the given design type to the passed in data.

Example

(typSetGlobalData &itSolarPanelArray; "rincost" 100)

Sets the rincost global data in itSolarPanelArray to 100. Return to Functions list

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