My Problem: I can't get these functions to call. The main ones work, but the console says attempting to call function setraycasting and setcolliding, and it also says unknown object.. Please help me with this, its very confusing to me, because I have no idea why it doesn't call the functions.
function MyweaponProjectile::onCollision(%this,%obj,%col,%fade,%pos,%normal)
{
%col.BrickChange();
%col.schedule(10000, "BrickNormal");
Parent::onCollision(%this,%obj,%col,%fade,%pos,%normal);
}
Parent::onCollision(%this,%obj,%col,%fade,%pos,%normal);
These are the functions
function FxDTSBrick::BrickChange(%this,%brick)
{
%brick.setColliding(0);
%brick.setRayCasting(0);
}
function FxDTSBrick::BrickNormal(%this,%brick)
{
%brick.setColliding(1);
%brick.setRayCasting(1);
}