Added all the remaining scripts not previously included.

This commit is contained in:
JezuzLizard
2021-08-07 11:29:26 -07:00
parent cf8d60b2d0
commit 98bfc67831
1001 changed files with 239603 additions and 0 deletions

View File

@ -0,0 +1,29 @@
#include maps/mp/animscripts/shared;
main()
{
self endon( "killanimscript" );
self endon( "stop_flashbang_effect" );
wait randomfloatrange( 0, 0,4 );
duration = self startflashbanged() * 0,001;
self setanimstate( "flashed" );
self maps/mp/animscripts/shared::donotetracks( "done" );
self setflashbanged( 0 );
self.flashed = 0;
self notify( "stop_flashbang_effect" );
}
startflashbanged()
{
if ( isDefined( self.flashduration ) )
{
duration = self.flashduration;
}
else
{
duration = self getflashbangedstrength() * 1000;
}
self.flashendtime = getTime() + duration;
self notify( "flashed" );
return duration;
}