Jump to content

OccupantAnim: Difference between revisions

From ModEnc²
en>Renegade
No edit summary
m 5 revisions imported
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
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.<br />
|name={{PAGENAME}}
(Yuri's Revenge Only)
|files={{Categ|Rules(md).ini}}
|values=Strings (names of [[Animations]])
|default=none
|types={{categ|Weapons}}
|yr=yes
}}
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}}

Latest revision as of 21:00, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: OccupantAnim
File(s): Rules(md).ini
Values: Strings (names of Animations)
Default: none
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.