ISKernel:innerspace (Data Type)

From Lavish Software Wiki
Revision as of 21:46, 20 October 2019 by Lax (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

Description

This data type holds information about Inner Space.


Members

  • string Version: Returns the Inner Space version number
  • int Build: Returns the Inner Space build number
  • string ISXDK: Returns the ISXDK version
  • string Uplink: Returns the Name of the current Uplink
  • settingsetref Configuration: The main Inner Space settings (InnerSpace.XML)
  • settingsetref GameConfiguration: The Inner Space Game Configuration settings (GameConfiguration.XML)
  • settingsetref InputConfiguration: The Inner Space Input Devices configuration settings (InputDevices.XML)
  • agent Agent[#]: Retrieves an Agent, by ID
  • agent Agent[name]: Retrieves an Agent, by name
  • jsonarray Agents: Retrieves an array of JSON objects briefly describing all currently defined Agents


Methods

  • LoadExtension[name]: Loads <name> extension
  • AddAgent[json]: Adds an Agent via a standalone JSON definition


Returns

NULL

Examples

Load an Extension in a script

  • InnerSpace:LoadExtension[test]
This will load the 'test' extension.


Display the Version Number

  • echo ${InnerSpace.Version}
This will display the Inner Space version number to the console


See Also