ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

StartFacing: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Crimsonum (talk | contribs)
Created page with "{{flag |values={{values|unsigned integer|0-7}} |files={{Categ|ini=rules}} |types={{Categ|BuildingTypes}} |ts=yes |fs=yes }} Specifies the direction this building's turret..."
 
Crimsonum (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
|files={{Categ|ini=rules}}
|files={{Categ|ini=rules}}
|types={{Categ|BuildingTypes}}
|types={{Categ|BuildingTypes}}
|ts=yes
|fs=yes
|fs=yes
}}
}}
Line 10: Line 9:


{{bugs}}
{{bugs}}
Without a "deployer" key like {{f|TickTank|link}}, when the building is placed down, the turret will point at the default direction (0, north) for an instant before snapping to the direction specified by {{f|{{PAGENAME}}}}.
If the turret is not a voxel ({{f|TurretAnimIsVoxel|false|link}}), when the [[buildup]] has finished, the turret will point at the default direction (0, north) for an instant before snapping to the direction specified by {{f|{{PAGENAME}}}}.


== See Also ==
== See Also ==
* [[StartPitch]]
* [[StartPitch]]
* [[FacingTypes]]
* [[FacingTypes]]

Latest revision as of 08:33, 10 March 2023

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: StartFacing
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295. (Limited to: 0-7)
Applicable to: BuildingTypes


Specifies the direction this building's turret (and by extension its barrel, if any) will face when the building is deployed/placed down. Applicable values are 0–7, where 0 is north (top right) and increasing numbers rotate clockwise.

Bugs/Side-Effects/Unexpected Limitations

If the turret is not a voxel (TurretAnimIsVoxel=false), when the buildup has finished, the turret will point at the default direction (0, north) for an instant before snapping to the direction specified by StartFacing.

See Also