This commit is contained in:
Your Name
2020-07-25 00:22:01 -06:00
commit 7368dad717
84 changed files with 61971 additions and 0 deletions

View File

@ -0,0 +1,30 @@
#include clientscripts\mp\_utility;
#include clientscripts\mp\_rewindobjects;
init( localClientNum )
{
level._effect["fx_claymore_laser"] = loadfx( "weapon/claymore/fx_claymore_laser" );
}
spawned( localClientNum )
{
self endon( "entityshutdown" );
self waittill_dobj(localClientNum);
while( true )
{
if( IsDefined( self.stunned ) && self.stunned )
{
wait( 0.1 );
continue;
}
self.claymoreLaserFXId = PlayFXOnTag( localClientNum, level._effect["fx_claymore_laser"], self, "tag_fx" );
self waittill( "stunned" );
stopfx(localClientNum, self.claymoreLaserFXId);
}
}