Deprecated: Assigning the return value of new by reference is deprecated in /var/www/siebn.de/wiki/inc/parserutils.php on line 205

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/siebn.de/wiki/inc/parserutils.php on line 208

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/siebn.de/wiki/inc/parserutils.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/siebn.de/wiki/inc/parserutils.php on line 530

Deprecated: Function split() is deprecated in /var/www/siebn.de/wiki/inc/auth.php on line 154
drawing [Burning Sand Wiki]
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /var/www/siebn.de/wiki/inc/template.php on line 242
 

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/siebn.de/wiki/inc/parser/parser.php on line 66

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/siebn.de/wiki/inc/parser/lexer.php on line 292

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/siebn.de/wiki/inc/parser/handler.php on line 22

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/siebn.de/wiki/inc/parser/handler.php on line 49

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/siebn.de/wiki/inc/parser/handler.php on line 213

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/siebn.de/wiki/inc/parser/handler.php on line 241

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/siebn.de/wiki/inc/parser/handler.php on line 295

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/siebn.de/wiki/inc/parser/handler.php on line 328

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/siebn.de/wiki/inc/parser/handler.php on line 575

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/siebn.de/wiki/inc/parser/xhtml.php on line 939

E-rauchen tut nicht nicht geruchlos sein. Noch einiges zum Thema hier → [ E Zigarette test ]… E-Fluppen sollen sehr gesund sein. Deshalb kannst du es ja mal versuchen.

Examples

Creating a clock

1. REMOVETRIGGER writetime 
2. ON writetime WRITE ELEMENT:Fire 50 100 50 NUMBER HOUR 
3. ON writetime WRITE ELEMENT:Fire 150 100 50 NUMBER MINUTE 
4. ON writetime WRITE ELEMENT:Fire 250 100 50 NUMBER SECOND 
5. ON writetime TIMER 1 FRAMES writetime 
6. EXEC writetime
  1. Removes all actions from writetime. So you don't get problems if you run the script more than once.
  2. Writes the current hour at 50 100 with a size of 50.
  3. Writes the current minute at 150 100 with a size of 50.
  4. Writes the current second at 250 100 with a size of 50.
  5. This will call the writetime every frame.
  6. Run the script now.

Replacing a rect

1. REMOVETRIGGER REPACEFILLEDRECT 
2. ON REPACEFILLEDRECT SET tmp 0
3. ON REPACEFILLEDRECT WHILE (tmp < $5) REPACEFILLEDRECT2
4. REMOVETRIGGER REPACEFILLEDRECT2 
5. ON REPACEFILLEDRECT2 DRAW $0 REPLACELINE $2 ($3 + tmp) $4 0 $1
6. ON REPACEFILLEDRECT2 SET tmp (tmp + 1)
7. EXEC REPACEFILLEDRECT ELEMENT:Fire ELEMENT:Water 100 100 50 70
  1. Removes all actions from REPACEFILLEDRECT. So you don't get problems if you run the script more than once.
  2. Sets the variable tmp to 0.
  3. While tmp is smaller than the 6th parameter of the function execute REPACEFILLEDRECT2.
  4. Removes all actions from REPACEFILLEDRECT2. So you don't get problems if you run the script more than once.
  5. Draws a REPLACELINE at every line.
  6. Increases the variable tmp by 1.
  7. Executed the script and replaces every Water by Fire in the rect 100/100 with the width 50 and height 70.
 

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /var/www/siebn.de/wiki/inc/template.php on line 785
drawing.txt · Last modified: 2012/01/09 18:15 by wikihelp007
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki