Functions Documentation
View Function Edit Function
Name staSetGlobalData_deprecated
Syntax (staSetGlobalData_deprecated number string expression)
Argument List number: The UNID of the station you want to set the data on.
string: The name of the data.
expression: The data you want to store.
Returns condition: True if successful, Nil otherwise.
Category station, data, 0.98
Description Stores the expression in the named global data in the station type.
(staSetGlobalData &stCSCEuropaWreck; "VaultCode" (cat (random codes) " " (random codes) " " (random 1 999)))

Sets the random code in the VaultCode in the CSC Europa.
Comment Basic data function allowing you to set global data with a UNID instead of a space object.
DEPRECATED: Use typSetGlobalData instead