mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-22 13:10:28 -05:00
Trample Steam and Head Chopper: remove wait before attack
This commit is contained in:
@ -94,6 +94,21 @@ headchopperthink( weapon, electricradius, armed )
|
||||
}
|
||||
}
|
||||
|
||||
wait_for_targets( weapon )
|
||||
{
|
||||
weapon endon( "hi_priority_target" );
|
||||
|
||||
while ( isdefined( weapon ) )
|
||||
{
|
||||
if ( isdefined( weapon.chop_targets ) && weapon.chop_targets.size > 0 )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
wait 0.05;
|
||||
}
|
||||
}
|
||||
|
||||
headchopperattack( weapon, ent )
|
||||
{
|
||||
self endon( "death" );
|
||||
|
@ -100,4 +100,19 @@ springpadthink( weapon, electricradius, armed )
|
||||
else
|
||||
wait 0.1;
|
||||
}
|
||||
}
|
||||
|
||||
wait_for_targets( weapon )
|
||||
{
|
||||
weapon endon( "hi_priority_target" );
|
||||
|
||||
while ( isdefined( weapon ) )
|
||||
{
|
||||
if ( isdefined( weapon.fling_targets ) && weapon.fling_targets.size > 0 )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
wait 0.05;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user