BUT FOR THE LOVE OF GOD, COULD YOU PLEASE STOP MESSING UP MY SCRIPTS WHEN YOU COMMIT THEM TO CA!
(1) Those sleeps are there for a reason. It stops retardedness like the shot coming from a different place to the fx.
Code: Select all
if( gun1 == 0 )
{
sleep 30;
emit-sfx 1024 from rflare1;
emit-sfx 1025 from rbarrel;
}
if( gun1 == 1 )
{
sleep 30;
emit-sfx 1024 from lflare1;
emit-sfx 1025 from lbarrel;
}
if( gun1 == 2 )
{
sleep 30;
emit-sfx 1024 from rflare1;
emit-sfx 1025 from rbarrel;
}
if( gun1 == 3 )
{
sleep 30;
emit-sfx 1024 from lflare1;
emit-sfx 1025 from lbarrel;
}
gun1 = 1 + gun1;
if( gun1 == 4 )
{
gun1 = 0;
}
It's not a suggestion (although i did forget to make the notation on some of my units, its not an excuse for commiting clearly [now] broken scripts.)
(3) wtfaimingcode. C'mon. What do you expect a function like this to do?
Code: Select all
AimWeapon2(heading,pitch)
{
wait-for-turn torso around y-axis;
wait-for-turn launcher around x-axis;
return (1);
}
I thoroughly test my scripts, to ensure that the people who use my units get a quality, ready-for-use product. The least you can do is respect the work I put into writing those scripts and impliment them properly.