2024-02-18 17:32:07 -05:00

25 lines
710 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#using_animtree("generic_human");
main()
{
self.desired_anim_pose = "prone";
animscripts\utility::UpdateAnimPose();
self.a.movement = "stop";
turret = self getTurret();
turret thread turretInit( self );
self.primaryTurretAnim = %proneSAWgunner_aim;
self.additiveTurretIdle = %saw_gunner_prone_idle;
self.additiveTurretFire = %saw_gunner_prone_firing;
thread animscripts\saw\common::main( turret );
}
#using_animtree("mg42");
turretInit( owner )
{
self UseAnimTree(#animtree);
self.additiveTurretIdle = %saw_gunner_prone_idle_mg;
self.additiveTurretFire = %saw_gunner_prone_firing_mg;
self endon("death");
owner waittill( "killanimscript" );
self stopUseAnimTree();
}