Blockland Forums > Modification Help

Why wont this work?

Pages: << < (2/2)

Pah1023:


--- Quote from: Chrono on August 04, 2010, 10:46:29 PM ---Onplant has two args.
First one is datablock, second one is the brick.

That's your problem.

--- End quote ---
Oh, thanks, where I got this from said it only had one args.
Edit: I did package A{function fxDTSBrick::onPlant(%data,%brick){echo("Data: "@%data@" Brick"@%brick);parent::onPlant(%data,%brick);}}; and it said %data and %brick is the same thing.
Edit again: but when I did it, it allowing be to build them, but it still says the brick doesn't have any hits.

Pages: << < (2/2)

Go to full version