1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
|
ladeflaeche = getent( "bla", "targetname" );
ausloeser = getent( "my_trigger", "targetname" );
ausloeser enablelinkto();
ausloeser linkto( ladeflaeche );
while(1)
{
ausloeser waittill( "trigger" );
ladeflaeche movex ( 300, 10 );
wait 10;
ausloeser waittill( "trigger" );
ladeflaeche movex( -300, 10 );
wait 10;
} |