Difference between revisions of "Compiled Index of Lua Scripts for Visionaire Studio"
From The Official Visionaire Studio: Adventure Game Engine Wiki
(→Visionaire Studio Functions) |
(→Visionaire Studio Functions) |
||
Line 69: | Line 69: | ||
| [[GetSteamStat_(CMS)|getSteamStat]] || ... | | [[GetSteamStat_(CMS)|getSteamStat]] || ... | ||
|- | |- | ||
− | | [[GetTexts_(CMS)|getTexts()]] || | + | | [[GetTexts_(CMS)|getTexts()]] || Retrieve all texts associated with the linked object. |
|- | |- | ||
− | | [[GetTextStr_(CMS)|getTextStr()]] || | + | | [[GetTextStr_(CMS)|getTextStr()]] || Retrieve a specific text string, based on the current game language or the included language id. |
|- | |- | ||
− | | [[GetTime_(CMS)|getTime()]] || | + | | [[GetTime_(CMS)|getTime()]] || Developer command for checking time between 2 points; can be re-purposed into a crude delay or loop function. |
|- | |- | ||
− | | [[GetVolume_(CMS)|getVolume()]] || | + | | [[GetVolume_(CMS)|getVolume()]] || Retrieve volume levels for: music, sound, speech, videos, & master. |
|- | |- | ||
− | | [[GetWindowBrightness_(CMS)|getWindowBrightness()]] || | + | | [[GetWindowBrightness_(CMS)|getWindowBrightness()]] || Retrieve global window brightness value. |
|- | |- | ||
− | | [[IsEmpty_(CMS)|isEmpty()]] || Returns false | + | | [[IsEmpty_(CMS)|isEmpty()]] || Returns true or false; depending on whether or not the linked object is empty. |
|- | |- | ||
| [[RegisterEventHandler_(CMS)|registerEventHandler()]] || ... | | [[RegisterEventHandler_(CMS)|registerEventHandler()]] || ... |
Revision as of 20:01, 19 March 2014
Here you can find a list of verified working Lua scripts made by various members of the Visionaire Studio team & forum community.
Basic
Script Name | By |
---|---|
... | ... |
Intermediate
Script Name | By |
---|---|
Cycle Inventory Items | AFRLme |
Dynamic Action Names | AFRLme |
Global Command Checker | AFRLme |
Load External Scripts | Divo |
Organize Inventory Items Alphabetically | AFRLme |
Advanced
Script Name | By |
---|---|
Config.ini (read/write) | AFRLme |
Dynamic Action Names for Dragged Items | AFRLme |
Sliding Interfaces (based on Deponia) | AFRLme |
Visionaire Studio Functions
Function Name | Description |
---|---|
createScreenshot() | Create a screenshot & save as .png to a specified folder or use the screenshot for the save game thumbnail. |
getCursorPos() | Retrieves the current (absolute) position of the mouse cursor. |
getLink() | Retrieves the data stored inside of a linked objects table. |
getLinks() | Retrieves grouped data stored inside of a linked objects table. |
getName() | Returns the "string" name value of the linked objects table. |
getObject() | Retrieves the data stored inside of a linked objects table. |
getProperty() | Retrieve various operating system (os) properties; such as: platform, system language etc... |
getSoundId() | ... |
getSoundProperty() | ... |
getSteamAchievement | ... |
getSteamStat | ... |
getTexts() | Retrieve all texts associated with the linked object. |
getTextStr() | Retrieve a specific text string, based on the current game language or the included language id. |
getTime() | Developer command for checking time between 2 points; can be re-purposed into a crude delay or loop function. |
getVolume() | Retrieve volume levels for: music, sound, speech, videos, & master. |
getWindowBrightness() | Retrieve global window brightness value. |
isEmpty() | Returns true or false; depending on whether or not the linked object is empty. |
registerEventHandler() | ... |
registerHookFunction() | ... |
resetSteamStats() | ... |
setCursorPos() | ... |
setSoundProperty() | ... |
setSteamAchievement() | ... |
setSteamStat() | ... |
setVolume() | ... |
setWindowBrightness() | ... |
setWindowTitle() | ... |
startAction() | ... |
startAnimation() | ... |
startDefaultBrowser | ... |
startSound() | ... |
stopAction() | ... |
stopAnimation() | ... |
stopSound() | ... |
toggleSoundPause() | ... |
unregisterEventHandler() | ... |