Schranke!!!

Wishmaster
Habe mal wieder ein problem.lol.Es läst nicht nach...heul

Habe jetzt eine schranke gemacht,aber die will sich nicht bewegen...

als Script habe ich die rotation genommen aber es bewegt sich nichts..

Hir meine Map-GSC:


main() {
maps\mp\_load::main();
maps\mp\rotate_fx::main();

}


und hir meine rotate_fx-GSC:


main()
{
rotate_obj = getentarray("rotate","targetname");
if(isdefined(rotate_obj))
{
for(i=0;i<rotate_obj.size;i++)
{
rotate_obj[i] thread ra_rotate();
}
}
}

ra_rotate()
{
if (!isdefined(self.speed))
self.speed = 2.3;
if (!isdefined(self.script_noteworthy))
self.script_noteworthy = "y";

while(true)
{
// rotateYaw(float rot, float time, <float acceleration_time>, <float deceleration_time>);
if (self.script_noteworthy == "y")
self rotateYaw(90,self.speed);
else if (self.script_noteworthy == "x")
self rotateRoll(90,self.speed);
else if (self.script_noteworthy == "z")
self rotatePitch(90,self.speed);
wait ((self.speed)-0.1); // removes the slight hesitation that waittill("rotatedone"); gives.
// self waittill("rotatedone");
}
}


habe schon alles probiert,aber es will nicht klappen.Hoffe es kann mir mal wieder einer helfen.....

Danke schon mal.
Wishmaster
Ok habe es selber hinbekommen.