Whenever I try to check if the item is set on the brick, it is always true, even if the item is actually set on a brick.
function sonicRingItem::onAdd( %this, %obj )
{
if( !isObject( %obj.spawnBrick ) )
{
echo( isObject( %obj.spawnBrick ) );
%obj.schedule( 6000, "fadeOut" );
%obj.schedule( 7000, "delete" );
}
parent::onAdd( %this, %obj );
}
Yes, it's in package.