Exemple #1
0
        public void EnableIsisTargetSound(NodeAddedEvent e, TargetEffectNode weapon, [Context, JoinByTank] IsisCurrentSoundEffectNode isisSound, [Context, JoinByBattle] DMNode dm)
        {
            IsisCurrentSoundEffectComponent isisCurrentSoundEffect = isisSound.isisCurrentSoundEffect;

            this.UpdateIsisSoundEffect(isisCurrentSoundEffect, weapon.isisDamagingSoundEffect.SoundController);
        }
Exemple #2
0
        public void EnableIsisTargetSound(NodeAddedEvent e, [Combine] TargetEffectTeamNode weapon, [Combine, Context, JoinByTank] IsisCurrentSoundEffectNode isisSound, [Context, JoinByTeam] TeamNode weaponTeam)
        {
            Entity entity = weapon.streamHit.TankHit.Entity;

            base.NewEvent <UpdateIsisSoundModeEvent>().Attach(weapon).Attach(entity).Schedule();
        }
Exemple #3
0
        public void DisableIsisTargetSound(NodeRemoveEvent e, TargetEffectNode weapon, [JoinByTank] IsisCurrentSoundEffectNode isisSound)
        {
            IsisCurrentSoundEffectComponent isisCurrentSoundEffect = isisSound.isisCurrentSoundEffect;

            this.UpdateIsisSoundEffect(isisCurrentSoundEffect, weapon.isisHealingSoundEffect.SoundController);
        }