IW4-Dump-Files/animscripts/traverse/duck_under_56.gsc

26 lines
752 B
Plaintext
Raw Normal View History

2017-07-08 11:47:21 -07:00
// Jump_across_72.gsc
// Makes the character do a lateral jump of 72 units.
#using_animtree( "generic_human" );
main()
{
// do not do code prone in this script
self.desired_anim_pose = "stand";
animscripts\utility::UpdateAnimPose();
self endon( "killanimscript" );
self traverseMode( "nogravity" );
self traverseMode( "noclip" );
// orient to the Negotiation start node
startnode = self getnegotiationstartnode();
assert( isdefined( startnode ) );
self OrientMode( "face angle", startnode.angles[ 1 ] );
self setFlaggedAnimKnoballRestart( "jumpanim", %gulag_pipe_traverse, %body, 1, .1, 1 );
self waittillmatch( "jumpanim", "finish" );
self traverseMode( "gravity" );
self animscripts\shared::DoNoteTracks( "jumpanim" );
}