-
Notifications
You must be signed in to change notification settings - Fork 1
Builtin Functions
Angelo Geels edited this page May 3, 2015
·
7 revisions
Prints a line to console.
-
String strLineThe line to print.
print("Hello world")
Returns an anchor for Control.Anchor properties.
-
bool leftWhether to set theAnchorStyles.Leftflag. -
bool rightWhether to set theAnchorStyles.Rightflag. -
bool upWhether to set theAnchorStyles.Upflag. -
bool downWhether to set theAnchorStyles.Downflag.
An enum of type AnchorStyles ready for the Control.Anchor property.
logbox.Anchor = Anchor(true, true, true, false)
Themes the given control by user settings.
-
Control rootThe control to modify. Can be a form, too.
InterfaceThemeControl(container)
Execute a lua script file. Prefer to use this instead of lua's builtin dofile, as this is also able to load scripts from zip packages (useful for Steam Workshop).
-
String strFilenameThe filename of the lua file to execute.
Whatever the file returns.
DoFile("functions.lua")