Jump to content

MovementRestrictedTo

From ModEnc²
Revision as of 12:00, 19 March 2007 by en>Nighthawk200 (Template updated)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: MovementRestrictedTo
File(s): rules(md).ini
Values: special strings
Default: None
Applicable to: InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes (to the same extent as Locomotors do)


Some units are restricted to certain terrains, say trains are restricted to railroad, ships are restricted to water, and some spawned aircraft are restricted to water(it affects only their landing). You can restrict other units to some kind of terrain, say to roads only if you so desired. To do so, use MovementRestrictedTo= with one of terrain types - Clear, Rough, Road, Water, Tiberium, Rock, Beach...