Bodygroup Animation in QC?

Hi, is it possible to have commands to change a bodygroup or skin in a QC? Like, a bodygroup changes on a certain frame in an animation.

Yes!

From the TF2 modelsrc:


$sequence taunt02 "taunt02.dmx" noanimation {
	numframes 130
	blendlayer layer_taunt02  0 5 124 129
	event AE_CL_BODYGROUP_SET_VALUE 18 "rocket 1"
	event AE_CL_BODYGROUP_SET_VALUE 126 "rocket 0"
	event AE_WPN_HIDE 1
	event AE_WPN_UNHIDE 129
}


event AE_CL_BODYGROUP_SET_VALUE FrameNumber "BodygroupName SlotNumber"