OccupantAnim: Difference between revisions
Appearance
en>DeathFish mNo edit summary |
en>Testid123 mNo edit summary |
||
| Line 2: | Line 2: | ||
|name={{PAGENAME}} | |name={{PAGENAME}} | ||
|files={{Categ|Rules(md).ini}} | |files={{Categ|Rules(md).ini}} | ||
|values= | |values=Strings (names of [[Animations]]) | ||
|default=0 | |default=0 | ||
|types={{categ| | |types={{categ|Weapons}} | ||
|yr=yes | |yr=yes | ||
}} | }} | ||
If an InfantryType has this weapon set as its OccupyWeapon | If an InfantryType has this weapon set as its {{f|OccupyWeapon||link}} and also has {{f|Occupier|yes|link}} set, then this tag specifies the animation to be used when that unit fires its weapon when inside a BuildingType with {{f|CanBeOccupied|yes|link}} and {{f|CanOccupyFire|yes|link}} set.<br /> | ||
---- | ---- | ||
Necessary to add despite lack of rewrite:<br> | Necessary to add despite lack of rewrite:<br> | ||
{{Automatictypelist|Animations|Animations}} | {{Automatictypelist|Animations|Animations}} | ||
Revision as of 15:46, 9 January 2025
|
|
|
|
|
|
| Flag: | OccupantAnim |
| File(s): | Rules(md).ini |
| Values: | Strings (names of Animations) |
| Default: | 0 |
| Applicable to: | Weapons |
If an InfantryType has this weapon set as its OccupyWeapon= and also has Occupier=yes set, then this tag specifies the animation to be used when that unit fires its weapon when inside a BuildingType with CanBeOccupied=yes and CanOccupyFire=yes set.
Necessary to add despite lack of rewrite:
Automatic List Inclusion
Animations used as values for this flag are automatically listed under the internal [Animations] array. However no harm can be done by listing them manually.





