Just tried doing it the way Epic does it. Node:
/**
* This kismet node is used to hide a bone
*/
class SeqAct_BoneRemoval extends SequenceAction;
var() Object SkelMesh;
var() name BoneName;
defaultproperties
{
ObjName="Bone Removal"
ObjCategory="Misc"
VariableLinks.Empty
VariableLinks(0)=(ExpectedType=class'SeqVar_Object',LinkDesc="Target",PropertyName=Targets)
}
Then I added to SkeletalMeshComponent.uc this function:
function OnBoneRemoval(SeqAct_BoneRemoval Action, SkeletalMeshComponent SkelMesh, name BoneName)
{
(SkelMesh).HideBoneByName(BoneName,PBO_Term);
}
Once again I get the same error. At this point I’m fairly sure it’s not a matter of syntax, so there must be something else that’s not working properly. Any suggestion?
EDIT: Found someone that encountered the same error as I did:
They said ‘solved the error part.
forgot the sequence class and method name in the function call as the error correctly tells me to do’
Not sure what to do about this?