| Blockland Forums > Modification Help |
| Brick can't find the function OnActivate |
| (1/1) |
| soba:
function fxDTSbrick::onActivate(%brick) { parent::onActivate(%brick); if(%brick.getDatablock() $= "brickGrassData") { %brick.delete(); } } Clicking my brick ingame activates, but at the same time, returns an error saying that it couldn't find the function OnActivate, and then never deleting the brick :( EDIT:Seems I just had to package it |
| Navigation |
| Message Index |