Jump to content

SubjectToWalls: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
m 6 revisions imported
 
(No difference)

Latest revision as of 22:06, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: SubjectToWalls
File(s): rules(md).ini
Values: boolean(yes/no)
Default: yes
Applicable to: Projectiles


This flag determines whether this projectile can be stopped by walls in its path. If set, the unit firing it will only fire once it finds a firing location not obstructed by walls.
Mind that weapons with warhead set to Wall=yes will be able to target over walls even if SubjectToWalls says it shouldn't. Weapons with a moving projectile will then hit the wall, however weapons with invisible instant travel projectiles, such as Tesla, Prism and bullet weapons will be able to fire past the wall. Tesla and Prism have a projectile image because of IsElectricBolt=yes and IsLaser=yes graphical effects tags, the projectile itself is still invisible.