26 lines
752 B
Plaintext
26 lines
752 B
Plaintext
|
// 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" );
|
||
|
}
|