Blockland Forums > Modification Help
Stratofortress's Mass Release
<< < (34/89) > >>
Kalphiter:
The shooting down sucks, I can improve it.


--- Code: ---function SpitfireSpeedCheck(%this, %obj)
{


if(!isObject(%obj))
return;

%vehicle = %obj;
%slot = 0; //Play the sound in the driver's spot
%speed = vectorLen(%obj.getVelocity());

if(%speed < 0) //Keeps throwing random negative numbers when train is at dead stop
    %speed = 0;

if(%speed < 10)
    %vehicle.playAudio(%slot, SpitfireidleSound);

else if(%speed < 30)
    %vehicle.playAudio(%slot, Spitfirethrottle1Sound);




   

schedule(500,0,"SpitfireSpeedCheck",%this,%obj);
}


--- End code ---
//Keeps throwing random negative numbers when train is at dead stop

Oh, nice, feel free to credit me.
Stratofortress:
Warship mountpoint update
qevil:
couldn't you use spacebar for the warship?

EDIT:or you could have the mount points on deck and give each one a cannon, 4 on each side and one on front/back. then give the driver 4 on each side instead of 8.
Hugums:
Theres a ghost brick in wake island that... shouldn't be there...
Aware14:
O.O

what program do you use?
:D
Navigation
Message Index
Next page
Previous page

Go to full version