Scripting

(On Collision)
(On Collision)
Line 45: Line 45:
  void onTestObjectItemCollision(int itemType, int idKart, const string objID)
  void onTestObjectItemCollision(int itemType, int idKart, const string objID)
  {
  {
-
    // ...
+
    if (itemType == Kart::PowerupType::BOWLING)
 +
    {
 +
        // ...
 +
    }
  }
  }

Revision as of 22:36, 31 May 2015

Retrieved from "http://supertuxkart.sourceforge.net/Scripting"

User Tools