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

24 lines
513 B
Plaintext

// Fence_climb.gsc
// Makes the character climb a 48 unit fence
// TEMP - copied wall dive until we get an animation
// Makes the character dive over a low wall
#include animscripts\traverse\shared;
main()
{
if ( self.type == "dog" )
dog_wall_and_window_hop( "wallhop", 40 );
else
wall_hop_human();
}
#using_animtree( "generic_human" );
wall_hop_human()
{
if ( randomint( 100 ) < 30 )
self advancedTraverse( %traverse_wallhop_3, 39.875 );
else
self advancedTraverse( %traverse_wallhop, 39.875 );
}