User Tools

Site Tools


ebguide_frequently_used_code

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ebguide_frequently_used_code [2019/03/18 08:10] – created adminebguide_frequently_used_code [2019/10/03 10:25] (current) – admin
Line 1: Line 1:
 #EBguide Frequently Used Code #EBguide Frequently Used Code
  
 +** Loop **
 +```
 +let v:k=0; v:kk=0; in
 +while (v:k<3)
 +{
 +    .............
 +    .............
 +    v:k+=1
 +}
 +```
 +
 +** Trigger Event**
 ``` ```
-=== Trigger Event 
 function(v:touchId::int, v:x::int, v:y::int, v:fingerId::int) function(v:touchId::int, v:x::int, v:y::int, v:fingerId::int)
 { {
Line 8: Line 19:
  true  true
 } }
 +```
  
- +**List from datapool** 
-=== List from datapool+```
 function(v:arg0::bool) function(v:arg0::bool)
 { {
Line 16: Line 28:
  false  false
 } }
 +```
  
- +**Toggle a Dynamic State Machine** 
-==== Toggle a Dynamic State Machine+```
 function() function()
 { {
Line 24: Line 37:
 } }
  
 +```
  
- +**Button Toggle on off** 
-==== Button Toggle on off+```
 function(v:touchId::int, v:x::int, v:y::int, v:fingerId::int) function(v:touchId::int, v:x::int, v:y::int, v:fingerId::int)
 { {
Line 41: Line 55:
  true  true
 } }
 +```
  
-===== User properties - Conditional Script - On Trigger +**Get Parameter from event (P79)** 
-function(v:arg0::bool) +```
-{ +
-   v:this.text=v:this."HoverText"[2] +
- true +
-} +
- +
- +
-===== Send Parameter from event (P79)+
 function(v:arg0::bool) function(v:arg0::bool)
 { {
Line 57: Line 65:
  false  false
 } }
 +```
  
- +** play animation (write this in conditional script) ** 
-====== play animation (write this in conditional script)+```
 function(v:arg0::bool) function(v:arg0::bool)
  {  {
ebguide_frequently_used_code.1552867814.txt.gz · Last modified: (external edit)