problem, i was trying to modify the function, but "ERROR: function declaration failed: fxDTSBrick::getDistanceFromGround"
can i modify it on a per brick type basis instead of global? i was just testing with a brick ID
also, aparently if the brick is floating it returns 2147483647, i'm guessing 2^N - 1?
edit:
testing stuff
datablock fxDTSBrickData(DuckBrickData : brick4x4FData)
{
category = "Special";
subCategory = "Misc";
uiName = "DUCKS GO QUACK";
}
function DuckBrickData::getDistanceFromGround(%brick, %a, %b, %c)
{
return 0;
}
it says it has a syntax error, what did i do wrong?
line 7, "...function ##D##uckBrickData..."
copied the stuff from city RP, couldn't find any other examples with brick making + functions
(JVS is rather scattered it seems, and i can't find the older versions in my files)