Blockland Forums > Modification Help
I need tumble to work for an old V8 banana add-on.
<< < (3/3)
Lørd Tøny:

--- Quote from: Munkey on October 07, 2011, 04:58:28 PM ---
--- Code: ---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!");
}
--- End code ---

--- End quote ---

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...
--- End quote ---
otto-san:
Do %obj.tripOver(); rather than tripOver(%obj);.
Navigation
Message Index
Previous page

Go to full version