mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-19 23:03:56 -07:00
The audio code does not yet support actually playing battle music. This was SVN commit r13091.
6 lines
232 B
JavaScript
6 lines
232 B
JavaScript
Engine.RegisterInterface("Attack");
|
|
|
|
// Message sent from Attack to the target entity, each
|
|
// time the target is damaged.
|
|
// Data: { attacker: 123, target: 234, type: "Melee", damage: 123 }
|
|
Engine.RegisterMessageType("Attacked");
|