Blockland Forums > Modification Help

"Onfire" Function on Pickup

Pages: (1/1)

_Dark_:

A friend of mine would like to know how do you make an item do the "onfire" function when you pick it up.

soba:

function GunImage::onFire(%this,%obj,%slot)
{
  //stuff
}

Replace gun with the item image name

Pages: (1/1)

Go to full version