*/
float() GenericCheckAttack =
{
- local vector spot1, spot2;
- local entity targ;
- local float chance;
+ vector spot1, spot2;
+ entity targ;
+ float chance;
if (self.health < 1)
return FALSE;
{
if (self.health < 1)
return;
- local vector dtemp;
- local float heading;
+ vector dtemp;
+ float heading;
// aim to the left of the enemy for a flyby
*/
void() ai_melee =
{
- local vector delta;
- local float ldmg;
+ vector delta;
+ float ldmg;
if (self.health < 1)
return;
void() ai_melee_side =
{
- local vector delta;
- local float ldmg;
+ vector delta;
+ float ldmg;
if (self.health < 1)
return;