Difference between revisions of "Compiled Index of Lua Scripts for Visionaire Studio"

From The Official Visionaire Studio: Adventure Game Engine Wiki
(Intermediate)
(Visionaire Studio Functions)
Line 48: Line 48:
 
|-
 
|-
 
| [[GetCursorPos_(CMS)|getCursorPos()]] || Retrieves the current (''absolute'') position of the mouse cursor.
 
| [[GetCursorPos_(CMS)|getCursorPos()]] || Retrieves the current (''absolute'') position of the mouse cursor.
 +
|-
 +
| [[GetLink_(CMS)|getLink()]] || ...
 +
|-
 +
| [[GetLinks_(CMS)|getLinks()]] || ...
 
|-
 
|-
 
| [[GetName_(CMS)|getName()]] || Returns the "string" name value of the linked objects table.
 
| [[GetName_(CMS)|getName()]] || Returns the "string" name value of the linked objects table.
Line 63: Line 67:
 
| [[GetSteamStat_(CMS)|getSteamStat]] || ...
 
| [[GetSteamStat_(CMS)|getSteamStat]] || ...
 
|-
 
|-
| [[GetText_(CMS)|getText()]] || ...
+
| [[GetTexts_(CMS)|getTexts()]] || ...
 +
|-
 +
| [[GetTextStr_(CMS)|getTextStr()]] || ...
 
|-
 
|-
 
| [[GetTime_(CMS)|getTime()]] || ...
 
| [[GetTime_(CMS)|getTime()]] || ...

Revision as of 17:30, 16 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

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() ...
getLinks() ...
getName() Returns the "string" name value of the linked objects table.
getObject() Retrieves the data stored inside of a linked objects table.
getProperty() ...
getSoundId() ...
getSoundProperty() ...
getSteamAchievement ...
getSteamStat ...
getTexts() ...
getTextStr() ...
getTime() ...
getVolume() ...
getWindowBrightness() ...
isEmpty() Returns false or true; 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() ...