Blockland Forums > Modification Help

Projectile detection

Pages: << < (2/2)

Kalphiter:


--- Quote from: Club559 on November 01, 2010, 10:15:38 PM ---Read the edit

--- End quote ---
I don't know its parameters -- but you can do this:
package a
{
    function fxDTSBrick::onProjectileHit(%this, %a, %b, %c, %d, %e)
    {
        echo("A: "@ %a.getClassName());
        echo("B: "@ %b.getClassName());
        echo("C: "@ %c.getClassName());
        echo("D: "@ %d.getClassName());
        echo("E: "@ %e.getClassName());
        parent::onProjectileHit(%this, %a, %b, %c, %d, %e);
    }
};

Pages: << < (2/2)

Go to full version