Author Topic: Disable sound when several enemies died (in the same time)  (Read 635 times)

SyF

  • Newbie
  • *
  • Posts: 18
    • View Profile
Disable sound when several enemies died (in the same time)
« on: April 03, 2020, 02:10:05 pm »
Hello guys,
I want to know if is it possible to disable the dying sound when an enemy is killed ?

Because, when I kick the boss, I "remove_life" the enemies around in the same time. And in this way, the sound is played for each in the same time (and it is horrible for my ears  ;D).

Do you have any idea ?

Max

  • Sr. Member
  • ****
  • Posts: 254
    • View Profile
Re: Disable sound when several enemies died (in the same time)
« Reply #1 on: April 06, 2020, 05:56:05 am »
Instead of "enemy:remove_life()" on the minions, you could do "enemy:remove()", which just takes them off the map, instead of damaging them. If you still want the dying animation you could manually create that.