Blockland Forums > Modification Help

Smallest snippet of code that will "Tumble"

Pages: << < (2/3) > >>

otto-san:

You can't pull variable out of thin air.

function TumblerProjectile::Damage(%this,%obj,%col,%fade,%pos,%normal)
{
  if(%col.getClassName() $= "Player")
    tumble(%col, 1);
}



Giovan:

That was your code. So you pulled variables out of thin air.

Anyway, testing now.

otto-san:

No, with my code it would have worked because %client was a real variable.

Yours didn't work that way.

lilboarder32:


--- Quote from: otto-san on March 26, 2011, 08:49:55 PM ---No, with my code it would have worked because %client was a real variable.

Yours didn't work that way.

--- End quote ---
No u magic and pull varibles from teh air.

otto-san:


--- Quote from: lilboarder32 on March 26, 2011, 09:03:08 PM ---No u magic and pull varibles from teh air.

--- End quote ---
yes im magic coding buddy

Pages: << < (2/3) > >>

Go to full version