MindControl
Flag: | MindControl |
File(s): | rules(md).ini |
Values: | Boolean values: yes or no, true or false, 1 or 0 |
Default: | no |
Applicable to: | Warheads |
If set, this warhead will mind-control the target instead of inflicting damage. The effect is instant, and ignores whether the weapon actually hit the target or not. Objects that have ImmuneToPsionics=yes are completely immune, and cannot be targeted.
The owner can only target and control one object at a time, and will lose control over the first target if it fires on a second one.
Note that MindControl=yes warheads will cause an Internal Error when detonated if any of the following conditions are true:
- Firing weapon is a shrapnel weapon and DeathWeapon.
- Firing weapon is an urban combat weapon (fired from an occupied building).
- Firing weapon is a secondary weapon. ;(The problem was resolved by adding MindControl=yes to the warhead ofPrimary and ElitePrimary)
In Yuri's Revenge
The Damage value of the weapon defines how many objects total can be controlled by the firer. Values greater than 1 prevent previously established mind-control links from being lost. Because of that, after reaching the limit, no new object can be controlled until at least one of the old ones is destroyed.
Bugs/Side-Effects/Unexpected Limitations
The game only checks the Primary weapon for MindControl=yes warhead (giving it to a Secondary causes an Internal Error). Furthermore, changing Damage on ElitePrimary doesn't affect how many objects can be controlled - only Primary is checked.
- ForRa2 Cannot be hypnotizedBuildingTypes ฺBut attacks BuildingTypesthings withSecondary.
Notes
Hardcoded to prevent attacks BuildingTypes or infantry,VehicleTypes, AircraftTypes of yours (except allies)
to prevent certain actions such as hypnosis BuildingTypes or infantry,VehicleTypes, AircraftTypes of Yours