I don't know what is wrong with my script, I pretty much did copy pasta from another working script (core ak from AA5.0 mod, probably the same script other mods use for ak), and put in my animations for my model. Scriptor is giving these errors when compiling:
Error (48): Unknown Identifier walklegs [C:\Spring\mods\SpringWork\modwip\scripts\GUNCOM.BOS ]
Error (92): Unknown Identifier SmokeUnit [C:\Spring\mods\SpringWork\modwip\scripts\GUNCOM.BOS ]
Error (100): Unknown Identifier healthpercent [C:\Spring\mods\SpringWork\modwip\scripts\GUNCOM.BOS ]
Error (101): Expected condition [C:\Spring\mods\SpringWork\modwip\scripts\GUNCOM.BOS ]
Here is my bos file.
http://files.filefront.com//;7375947;;/
Thanks in advance!
Oh, and sorry if this is in the wrong section, wasn't sure where I should post this...
I need help with my bos file
Moderator: Moderators
walk()
{
if( bMoving )
{
Turn rarm to x-axis -2184 speed<-7281>;
Turn larm to x-axis 3276 speed<10922>;
Move lfoot to y-axis -9 speed[4];
Move lfoot to z-axis 0 speed[-23];
Move head to y-axis 21 speed[1];
Move head to z-axis 2 speed[-1];
Sleep 300;
}
if( bMoving )
{
Turn rarm to x-axis 1638 speed<12743>;
Turn larm to x-axis -1820 speed<-16990>;
Move lfoot to y-axis -11 speed[-8];
Move lfoot to z-axis 3 speed[13];
Move head to y-axis 21 speed[-1];
Move head to z-axis 3 speed[1];
Sleep 300;
}
if( bMoving )
{
Turn rarm to x-axis -2366 speed<-13349>;
Turn larm to x-axis 2912 speed<15777>;
Move lfoot to z-axis 5 speed[6];
Move rfoot to y-axis -7 speed[10];
Move rfoot to z-axis 5 speed[-10];
Move head to y-axis 22 speed[3];
Move head to z-axis 2 speed[-1];
Sleep 299;
}
} you were missing this bracket
walklegs()
{
if( bMoving )
{
Turn rarm to x-axis -2184 speed<-7281>;
Turn larm to x-axis 3276 speed<10922>;
Move lfoot to y-axis -9 speed[4];
Move lfoot to z-axis 0 speed[-23];
Move head to y-axis 21 speed[1];
Move head to z-axis 2 speed[-1];
Sleep 300;
}
if( bMoving )
{
Turn rarm to x-axis 1638 speed<12743>;
Turn larm to x-axis -1820 speed<-16990>;
Move lfoot to y-axis -11 speed[-8];
Move lfoot to z-axis 3 speed[13];
Move head to y-axis 21 speed[-1];
Move head to z-axis 3 speed[1];
Sleep 300;
}
if( bMoving )
{
Turn rarm to x-axis -2366 speed<-13349>;
Turn larm to x-axis 2912 speed<15777>;
Move lfoot to z-axis 5 speed[6];
Move rfoot to y-axis -7 speed[10];
Move rfoot to z-axis 5 speed[-10];
Move head to y-axis 22 speed[3];
Move head to z-axis 2 speed[-1];
Sleep 299;
}
if( bMoving )
{
Turn rarm to x-axis 0 speed<7888>;
Turn larm to x-axis 0 speed<-9709>;
Move rfoot to y-axis -11 speed[-11];
Move rfoot to z-axis 7 speed[8];
Move head to y-axis 21 speed[-3];
Move head to z-axis 3 speed[1];
Sleep 300;
}
} and this one
you also spell saber, "sabre" in your peice list.
enjoy.