Author Topic: Tron Light Bike (With Trail & Model)  (Read 12806 times)


function HerculesVehicle::onImpact(%this,%obj,%data)
{
   %speed = vectorLen(%obj.getVelocity());
   if(%speed > %obj.dataBlock.minHerculesSpeed)

      %trans = %obj.getTransform();

   %p = new Projectile()
   {
      dataBlock = jeepFinalExplosionProjectile;
      initialVelocity  = "0 0 0";
      initialPosition  = %trans;
      sourceObject     = %obj;
      sourceSlot       = 0;
      client           = %obj.client;
   };
   MissionCleanup.add(%p);
            if(%obj.destroyed)
            return;
         %obj.setDamageLevel(%this.maxDamage);
         %obj.destroyed = 1;
         %obj.schedule(10,"finalExplosion");
         if(isObject(%obj.spawnBrick.client.minigame))
            %respawn = %obj.spawnBrick.client.minigame.vehicleReSpawnTime;
         %obj.spawnBrick.schedule(%respawn,"spawnVehicle");

   
}

someone could modify that to make it work with this.

When was I being a richard? And how does it relate to the subject matter?
sorry to bring it up again, but-
Although it may not have been meant that way, it sounded like you were saying "This add-on stinks, I'm go to take some of your script and make it my own and then just give you a little bit of credit on the side."
I know that's probably not how you meant it, but it could have been looked at in that way.


"Sorry, but I truly feel that I can make this better. If I use any code I will credit you"
"No you can't use any code"
"Ok fine, I just won't credit you"
"[Misunderstanding] I'll say you stole my code..."
"No, like I won't use your code at all"

And I thought Ben was talking about something else, seemed like he was referring to something outside of this topic to me.