if(sf & BRG_SETUP)
{
- self.cnt = ReadByte();
- self.team = ReadByte();
- self.cnt = ReadByte();
+ this.cnt = ReadByte();
+ this.team = ReadByte();
+ this.cnt = ReadByte();
- if(self.cnt)
- self.colormod = '1 0 0';
+ if(this.cnt)
+ this.colormod = '1 0 0';
else
- self.colormod = '0 1 0';
+ this.colormod = '0 1 0';
- self.traileffect = EFFECT_BUMBLEBEE_HEAL_MUZZLEFLASH.m_id;
- self.lip = particleeffectnum(EFFECT_BUMBLEBEE_HEAL_IMPACT);
+ this.traileffect = EFFECT_BUMBLEBEE_HEAL_MUZZLEFLASH.m_id;
+ this.lip = particleeffectnum(EFFECT_BUMBLEBEE_HEAL_IMPACT);
- self.draw = bumble_raygun_draw;
+ this.draw = bumble_raygun_draw;
}
if(sf & BRG_START)
{
- self.origin_x = ReadCoord();
- self.origin_y = ReadCoord();
- self.origin_z = ReadCoord();
- setorigin(self, self.origin);
+ this.origin_x = ReadCoord();
+ this.origin_y = ReadCoord();
+ this.origin_z = ReadCoord();
+ setorigin(this, this.origin);
}
if(sf & BRG_END)
{
- self.move_origin_x = ReadCoord();
- self.move_origin_y = ReadCoord();
- self.move_origin_z = ReadCoord();
+ this.move_origin_x = ReadCoord();
+ this.move_origin_y = ReadCoord();
+ this.move_origin_z = ReadCoord();
}
return true;
}