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

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 5: Line 5:
 
|-
 
|-
 
! style="text-align:left" | Script Name  
 
! style="text-align:left" | Script Name  
! style="text-align:left" | By
+
! style="text-align:left;width:10%" | By
 
|-
 
|-
 
| Example3 || ...
 
| Example3 || ...
Line 19: Line 19:
 
{| class="wikitable sortable" style="width:100%"
 
{| class="wikitable sortable" style="width:100%"
 
|-
 
|-
| '''Script Name'''
+
! style="text-align:left" | Script Name  
| style="width:10%" | '''By'''
+
! style="text-align:left;width:10%" | By
 
|-
 
|-
 
| [[How_to_Load_External_Scripts_Into_Visionaire_Studio_(CMS)|Load external scripts]]
 
| [[How_to_Load_External_Scripts_Into_Visionaire_Studio_(CMS)|Load external scripts]]
Line 35: Line 35:
 
{| class="wikitable sortable" style="width:100%"
 
{| class="wikitable sortable" style="width:100%"
 
|-  
 
|-  
| '''Script Name'''
+
! style="text-align:left" | Script Name  
| style="width:10%" | '''By'''
+
! style="text-align:left;width:10%" | By
 
|-
 
|-
 
| [[Dynamic_Action_Names_for_Dragged_Items_(CMS)|Dynamic Action Names for Dragged Items]] || AFRLme
 
| [[Dynamic_Action_Names_for_Dragged_Items_(CMS)|Dynamic Action Names for Dragged Items]] || AFRLme
Line 50: Line 50:
 
{| class="wikitable sortable" style="width:100%"
 
{| class="wikitable sortable" style="width:100%"
 
|-
 
|-
| '''Function Name'''
+
! style="text-align:left" | Function Name  
| style="width:80%" | '''Description'''
+
! style="text-align:left;width:80%" | Description
 
|-
 
|-
| [[CreateScreenshot_(CMS)|createScreenshot()]] || Create a screenshot & save as .png to a specified folder or use screenshot for save game thumbnail.
+
| [[CreateScreenshot_(CMS)|createScreenshot()]] || Create a screenshot & save as .png to a specified folder or use the screenshot for the save game thumbnail.
 
|-
 
|-
 
| [[GetCursorPos_(CMS)|getCursorPos()]] || Retrieves the current(''absolute'') position of the mouse cursor.
 
| [[GetCursorPos_(CMS)|getCursorPos()]] || Retrieves the current(''absolute'') position of the mouse cursor.

Revision as of 19:47, 21 February 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
Example3 ...
Example2 ...
Example5 ...
Example4 ...

Intermediate

Script Name By
Load external scripts Divo
Cycle Inventory Items AFRLme
Organize Inventory Items Alphabetically AFRLme
Example4 ...

Advanced

Script Name By
Dynamic Action Names for Dragged Items AFRLme
Example2 ...
Example5 ...
Example4 ...

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.
getName() Returns the "string" name value of the linked objects table.
getObject() Retrieves the data stored inside of a linked objects table.