0ad/binaries/data/mods/public/simulation/components/interfaces/Turretable.js
Freagarach 21e866fcf0 Technically seperate Turrets from GarrisonHolder.
While they often look alike, their behaviour is totally different.
This split has some implications:
- There are now separate auras for garrisoning and turrets.
- Entities can now have both turret points and garrison slots,
independent of eachother.

In general previous behaviour is maintained as much as possible.

Differential revision: D3150
Comments by: @Nescio, @wraitii
Tested by: @v32itas
This was SVN commit r25123.
2021-03-26 10:18:30 +00:00

7 lines
222 B
JavaScript

Engine.RegisterInterface("Turretable");
/**
* Message of the form { "holderID": number }
* sent from the Turretable component whenever the turreted state changes.
*/
Engine.RegisterMessageType("TurretedStateChanged");