User Tools

Site Tools


modding:function:syssetdata

Discuss this page on this pages TalkPage

sysSetData

See sysSetData at Xelerus

Syntax (sysSetData [string] string expression)
Arguments string: The optional name of the system node. If not there uses the current system.
string: The name of the data.
expression: The data you want to store.
Returns condition: True if successful, Nil otherwise.
Category data, system
Description Sets the named data in the given system to the expression.

Example

(sysSetData "power" 9001)

Stores the number 9001 in the power data for the current system. Return to Functions list

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