Exemple #1
0
            public override bool Think(edict_t self)
            {
                if (null == self.groundentity && GameBase.level.time < self.timestamp)
                {
                    self.nextthink = GameBase.level.time + Defines.FRAMETIME;
                    return(true);
                }

                GameMisc.BecomeExplosion1(self);
                return(true);
            }
Exemple #2
0
 public override void Die(edict_t self, edict_t inflictor, edict_t attacker, int damage, float[] point)
 {
     GameBase.gi.Sound(self, Defines.CHAN_VOICE, sound_death1, 1, Defines.ATTN_NORM, 0);
     GameMisc.BecomeExplosion1(self);
 }