Add some scripting examples
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
var testingVar = 10;
|
||||
|
||||
function setup()
|
||||
{
|
||||
host.addParameter("testingVar");
|
||||
host.setTickInterval(2000);
|
||||
}
|
||||
|
||||
function tick()
|
||||
{
|
||||
testingVar++;
|
||||
}
|
||||
Reference in New Issue
Block a user