Files
IL-GSC/BO1/PC/ZM/animscripts/saw/stand.gsc
2024-02-18 17:32:07 -05:00

25 lines
694 B
Plaintext
Raw Permalink 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 = "stand";
animscripts\utility::UpdateAnimPose();
self.a.movement = "stop";
turret = self getTurret();
turret thread turretInit( self );
self.primaryTurretAnim = %standSAWgunner_aim;
self.additiveTurretIdle = %saw_gunner_idle;
self.additiveTurretFire = %saw_gunner_firing_add;
thread animscripts\saw\common::main( turret );
}
#using_animtree("mg42");
turretInit( owner )
{
self UseAnimTree(#animtree);
self.additiveTurretIdle = %saw_gunner_idle_mg;
self.additiveTurretFire = %saw_gunner_firing_mg_add;
self endon("death");
owner waittill( "killanimscript" );
self stopUseAnimTree();
}