KIND Library: Difference between revisions
From TrainzOnline
Jump to navigationJump to search
mNo edit summary |
|||
| Line 11: | Line 11: | ||
==Supported Tags== | ==Supported Tags== | ||
Each Library asset supports the following tags. Each tag is shown here with its default value. | Each Library asset supports the following tags. Each tag is shown here with its default value. | ||
* '' | * ''always-load-in-global-context'' if set to '1', library is always loaded to [[New_TrainzScript_Features#Global_script_context|global script context]] | ||
==Example Config.txt== | ==Example Config.txt== | ||
Revision as of 00:16, 31 October 2010
KIND Library is a coded module that interacts with other coded modules.
KIND Hierarchy
Parent Classes
- none.
Child Classes
- none.
Supported Tags
Each Library asset supports the following tags. Each tag is shown here with its default value.
- always-load-in-global-context if set to '1', library is always loaded to global script context
Example Config.txt
Sample config.txt file for a library asset, with the Standard Tags excluded for brevity:
kind "library" script "LibraryScript.gs" class "LibraryClass"
Downloads
Attach sample files here?