Hide bone through Kismet

I tried to test this but failed to do so. Since I cannot pass the skel mesh as a variable I tried hardcoding it in as a test. So I wrote:


function OnBoneRemoval(SeqAct_BoneRemoval Action)
{	
    SkeletalMeshComponent_32.HideBoneByName('b_MF_Head',PBO_Term);
}

Error, ‘SkeletalMeshComponent_32’: Bad command or expression


function OnBoneRemoval(SeqAct_BoneRemoval Action)
{	
    (SkeletalMeshComponent_32).HideBoneByName('b_MF_Head',PBO_Term);
}

Error, Bad or missing expression in parenthesis


function OnBoneRemoval(SeqAct_BoneRemoval Action)
{	
    'SkeletalMeshComponent_32'.HideBoneByName('b_MF_Head',PBO_Term);
}


function OnBoneRemoval(SeqAct_BoneRemoval Action)
{	
    'SkeletalMeshComponent_32'.HideBoneByName('b_MF_Head',PBO_Term);
}

For both of these I get ‘Error, Unexpected ‘.’ following ‘SkeletalMeshComponent_32’’.

Yeah I’ll try to do that now.