mirror of
https://github.com/InfinityLoader/IL-GSC.git
synced 2025-06-27 01:47:54 -05:00
39 lines
943 B
Plaintext
39 lines
943 B
Plaintext
/*******************************************************************
|
|
* Decompiled By: Bog
|
|
* Decompiled File: maps\mp\animscripts\zm_stop.gsc
|
|
* Game: Call of Duty: Black Ops 2
|
|
* Platform: PC
|
|
* Function Count: 1
|
|
* Decompile Time: 0 ms
|
|
* Timestamp: 10/28/2023 12:11:32 AM
|
|
*******************************************************************/
|
|
|
|
#include maps/mp/animscripts/shared;
|
|
#include maps/mp/animscripts/utility;
|
|
#include maps/mp/animscripts/zm_shared;
|
|
#include maps/mp/animscripts/zm_utility;
|
|
|
|
//Function Number: 1
|
|
main()
|
|
{
|
|
self endon("killanimscript");
|
|
for(;;)
|
|
{
|
|
if(IsDefined(level.ignore_stop_func))
|
|
{
|
|
if(self [[ level.ignore_stop_func ]]())
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
|
|
if(!(self hasanimstatefromasd("zm_idle")))
|
|
{
|
|
return;
|
|
}
|
|
|
|
animstate = maps/mp/animscripts/zm_utility::append_missing_legs_suffix("zm_idle");
|
|
self setanimstatefromasd(animstate);
|
|
maps/mp/animscripts/zm_shared::donotetracks("idle_anim");
|
|
}
|
|
} |