About: Ready-to-use scripts   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Here are collected some useful scripts. Remember to give credit to the author! The toggle script (By Wacov): if frame==1; setVar("repeat",0); setVar("toggle",0); end; if joybutton("a")==0; setVar("repeat",1); getVar("toggle"); elsif getVar("repeat")==0; getVar("toggle"); elsif getVar("toggle")==0; setVar("repeat",0); getSetVar("toggle",1); else;setVar("repeat",0); getSetVar("toggle",0); end; Versatile, good for many kinds of switches. Change 'joybutton("a")' to any key or button input if your model requires; the output of the script is the variable called "toggle".

AttributesValues
rdfs:label
  • Ready-to-use scripts
rdfs:comment
  • Here are collected some useful scripts. Remember to give credit to the author! The toggle script (By Wacov): if frame==1; setVar("repeat",0); setVar("toggle",0); end; if joybutton("a")==0; setVar("repeat",1); getVar("toggle"); elsif getVar("repeat")==0; getVar("toggle"); elsif getVar("toggle")==0; setVar("repeat",0); getSetVar("toggle",1); else;setVar("repeat",0); getSetVar("toggle",0); end; Versatile, good for many kinds of switches. Change 'joybutton("a")' to any key or button input if your model requires; the output of the script is the variable called "toggle".
dcterms:subject
abstract
  • Here are collected some useful scripts. Remember to give credit to the author! The toggle script (By Wacov): if frame==1; setVar("repeat",0); setVar("toggle",0); end; if joybutton("a")==0; setVar("repeat",1); getVar("toggle"); elsif getVar("repeat")==0; getVar("toggle"); elsif getVar("toggle")==0; setVar("repeat",0); getSetVar("toggle",1); else;setVar("repeat",0); getSetVar("toggle",0); end; Versatile, good for many kinds of switches. Change 'joybutton("a")' to any key or button input if your model requires; the output of the script is the variable called "toggle".
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software