Useful Lua code snippets code sample - Stingray Lua API Reference
The examples in this section illustrate how to carry out common types
of tasks using the Stingray Lua API.
|
This example shows how you can use the stingray.SaveSystem interface to save runtime data to
a file on disk and read it back into the project later.
|
|
This example shows how to find out the unit that is under the current position
of the mouse cursor.
|