for the past few days i have been trying to make xanim's play on the cod4 minigun that i have in codwaw sp and i'm trying to make the barrel spin,
this is the code
Code:
self.barrelspin = SetAnim( %minigun_spin_loop, 1, 1, 0.1, 1 );
self.barrelspin LinkTo( self.minigun, "j_spin", (0,0,0), (0,0,0) );
and i am using #using_animtree("script_model");
because the cod4 anims are in there.
anyone know what i'm doing wrong?