-
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 strLine
The line to print.
print("Hello world")
Returns an anchor for Control.Anchor
properties.
-
bool left
Whether to set theAnchorStyles.Left
flag. -
bool right
Whether to set theAnchorStyles.Right
flag. -
bool up
Whether to set theAnchorStyles.Up
flag. -
bool down
Whether to set theAnchorStyles.Down
flag.
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 root
The 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 strFilename
The filename of the lua file to execute.
Whatever the file returns.
DoFile("functions.lua")