Author Topic: New Vehicle: Helicopter: Updated already!  (Read 40747 times)

LOL THIS WAS THE HELICOPTER I KEPT TALKING ABOUT ON HIS T+T TOPIC

LOL THIS IS THE WEHR THAT I KEPT TALKING ABOUT THAT USES CAPS

LOL THIS IS THE WEHR THAT I KEPT TALKING ABOUT THAT USES CAPS
O U

bushi it console spams when i press space

can you elaborate on that

Set::add: Object "82695" doesn't exist

:U

This.... Was so sudden....  I did not expect this.... which makes it all the more awesome.

You have too on triggers:
Code: [Select]
function crpg_chopperVehicle::OnTrigger(%this, %obj, %triggerNum, %val)
{
   if(%val){
      if(%triggerNum == 2){
      %pmount = %client.player.getObjectMount();
      %pmount.setVelocity(getword(%pmount.getvelocity(),0),getword(%pmount.getvelocity(),1),getword(obj.getvelocity(),2)+0.2);

 }
   }
}

function Vehicle::addVelocity(%vehicle,%velocity)
{
%vehicle.setVelocity(vectorAdd(%vehicle.getVelocity(),%velocity));
}


   function crpg_chopperVehicle::onTrigger(%this,%obj,%client)
   {
%obj.addvelocity("0 0 4");
   }
The first one is just a mess, delete it. It calls upon a client that doesn't exist. The second one isn't the most efficient, having a function for one vehicle, but it works much better than the first one.


Get to the Bushicopter™!


updated



... already!
As soon as I downloaded it it was updated lol.



Does shift make you descend?