I need tumble to work for an old V8 banana add-on.

Author Topic: I need tumble to work for an old V8 banana add-on.  (Read 977 times)

So I ported an old v8 banana add-on, you throw the banana on the ground and if someone touches the banana they trip over it. The only problem is that tumble is broken so I need someone who knows how to add tumble.

I'll send the add-on in a PM.


My Server Pack includes a /tumble command.

I don't know how to add tumble into add-ons and this won't be a command so it's different.

Quote
Installation
Put System_MunkServerPack.zip into the Add-Ons folder in your Blockland folder.

I don't know how to add tumble into add-ons and this won't be a command so it's different.
I was just showing that I know how to do it. I can do it many ways.

Oh yeah, that's fairly simple to do.

Here, can someone modify this script for me?

Code: [Select]
function player::tripover(%player)
{
   if(isObject(%player) && %player.getClassName() $= "Player")
   {
      %player.playAudio(0, bananaTripSound);
      schedule(100, 0, tumble, %player, 0.1); //Tumbles the player.
      %player.setWhiteOut(0.25);
      %player.schedule(5*1000, playThread, 2, root);
      return;
   }
   error("Object not found, or object is not a player!");
}

So is that going to work?


Code: [Select]
function player::tripover(%player)
{
   if(isObject(%player) && %player.getClassName() $= "Player")
   {
      %player.playAudio(0, bananaTripSound);
      schedule(100, 0, tumble, %player, 0.1); //Tumbles the player.
      %player.setWhiteOut(0.25);
      %player.schedule(5*1000, playThread, 2, root);
      return;
   }
   error("Object not found, or object is not a player!");
}

None of that worked.

Quote
Removed 2 file requests due to download prefs
*** Phase 2: Download Ghost Objects
*** Phase 3: Mission Lighting
  Successfully loaded mission lighting file: 'Add-Ons/Map_Bedroom/bedroom_ce7dd2f0.ml'
Mission lighting done
Executing config/client/Favorites.cs.
Lord Tony² spawned.
Exporting Slayer Preferences (Server)
Add-Ons/Weapon_Banana/server.cs (412): Unable to find function tripOver
Add-Ons/Weapon_Banana/server.cs (412): Unable to find function tripOver
Add-Ons/Weapon_Banana/server.cs (412): Unable to find function tripOver
Add-Ons/Weapon_Banana/server.cs (412): Unable to find function tripOver

Issuing Disconnect packet.
Exporting server prefs
Exporting client prefs
Exporting client config
Exporting rtb prefs
Shutting down the OpenGL display device...
Making the GL rendering context not current...
Deleting the GL rendering context...
Releasing the device context...

Do %obj.tripOver(); rather than tripOver(%obj);.