Jump to content

StartFacing: Difference between revisions

From ModEnc²
en>Crimsonum
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..."
 
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(3 intermediate revisions by 2 users 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 9: Line 8:
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.
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}}
=={{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 17:54, 2 July 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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