Files
IL-GSC/GHOSTS/PC/SP/animscripts/traverse/jump_over_high_wall.gsc
2023-10-27 03:49:01 -04:00

31 lines
1.0 KiB
Plaintext

/*******************************************************************
* Decompiled By: Bog
* Decompiled File: animscripts\traverse\jump_over_high_wall.gsc
* Game: Call of Duty: Ghosts
* Platform: PC
* Function Count: 1
* Decompile Time: 32 ms
* Timestamp: 10/27/2023 1:22:59 AM
*******************************************************************/
//Function Number: 1
func_4FDD()
{
self.desired_anim_pose = "crouch";
animscripts/utility::func_86CA();
self endon("killanimscript");
self traversemode("nogravity");
self traversemode("noclip");
var_00 = self getnegotiationstartnode();
self orientmode("face angle",var_00.angles[1]);
self clearanim(%stand_and_crouch,0.1);
self setflaggedanimknoballrestart("diveanim",%jump_over_high_wall,%body,1,0.1,1);
self playsound("dive_wall");
self waittillmatch("gravity on","diveanim");
self traversemode("nogravity");
self waittillmatch("noclip","diveanim");
self traversemode("noclip");
self waittillmatch("gravity on","diveanim");
self traversemode("gravity");
animscripts/shared::func_2986("diveanim");
}