ltcmdstarbuck
|
I get an invalid assignment oprerator error for the end, "}" of a For loop. Here is the code:
Event{ // Autoexec Event
PaletteMorph(0,0,0,0,63);
Dummy3=LoadImage("Intromap.pcx");
Dummy2=0;
For(Dummy=1500; Dummy1000; Dummy-1)
{
RotScale(ScreenX/2, ScreenY/2, image_width, image_Height, Dummy2, Dummy, Dummy3);
Showpage();
BatWait(5);
}
DrawPic("Mount1.pcx", 0, 0);
BatWait(100);
Chr1 = EntitySpawn(10, 13, "Marina.Chr");
Entity.speed[Chr1]=US;
EntityMove(2, "F1");
SetPlayer(Chr1);
BoxedMosaicFadeIn(75,1);
}
Posted on 2001-07-18 00:04:23
|
omegama99
|
there are alot of errors in that. now since i dont know which variables and strings you defined, or the functions you created either. But the conditional in the FOR loop looks wrong. shouldnt it be
for(dummy=1500; dummy=1000; dummy-=1)
syntax:
for(start of loop; loop conditional; change each time)
The darkness awaits, do not try and escape your destiny.
Posted on 2001-07-18 00:25:10
|