add "PUPS HIER IS DEIN TEXT";
msgbox "Überschrift",
free "self";
}
UND
BANANE HAT RECHT!
on:trigger { add "Dein Text"; msgbox "Überschrift"; stoptrigger currentid (); }
on:trigger { add "Dein Text"; msgbox "Überschrift"; stoptrigger "self"; }
on:use { local $deltaX, $deltaZ,$me,$x,$z; $me=currentid(); $x=getx("object",$me); $deltaX=$x; $deltaX-=getx("unit",1); $z=getz("object",$me); $deltaZ=$z; $deltaZ-=getz("unit",1); $deltaX=deltaX/10.0; $deltaY=deltaY/10.0; timer "self",250,50; } on:timer { $x+=$deltaX; $z+=$deltaZ; setpos "self",$x,"self",$z; }
on:use { local $deltaX, $deltaZ,$me,$x,$z; $me=currentid(); $x=getx("object",$me); $deltaX=$x; $deltaX-=getx("unit",1); $z=getz("object",$me); $deltaZ=$z; $deltaZ-=getz("unit",1); $deltaX=deltaX/10.0; $deltaY=deltaY/10.0; timer "self",250,50; } on:timer { $x+=$deltaX; $z+=$deltaZ; setpos "self",$x,"self",$z; }
s2:on:start { 	s2:local $me; 	s2:loop("unit",16) { [i]//hab leider vergessen was was ist[/i] 		$me=s2:loop_id(); 		s2:addstate "unit",$me,17; 	} 	s2:freevar $me; }