Blockland Forums > Suggestions & Requests
onPlant event
heedicalking:
bump
Blocki:
--- Code: ---package bleh
{
function fxdtsbrick::onloadplant(%this, %aretheremoreargs)
{
parent::onloadplant(%this, %aretheremoreargs);
%this.onplantevent();
}
};
activatepackage(bleh);
--- End code ---
Now just make the event
...
otto-san:
^not quite what the code would look like
Tic-toc26:
i olnly read OP
how would you put a evet on a brick that isn't there yet?
otto-san:
--- Quote from: Tic-toc26 on October 21, 2012, 06:17:37 PM ---i olnly read OP
how would you put a evet on a brick that isn't there yet?
--- End quote ---
it's actually right after it's created