Did I translate your instructions correctly?
Sorry if that's not the case!
If I have translated correctly, the soldier heals himself and the other instructions are ignored ('medikitTargetImmune' and 'medikitTargetMatrix').
So if a soldier is unconscious, no one can cure him?
Not quite. medikitTargetSelf is just not a part of medikitTargetMatrix.
1 = friendly on the ground
2 = friendly standing
4 = neutral on the ground
8 = neutral standing
16 = hostile on the ground
32 = hostile standing
If you want a medikit item to be able to do one of these things, you
add the number next to what action you wish the medikit to be able to perform to medikitTargetMatrix.
For example, if medikitTargetMatrix was 33, that item would
only work on conscious aliens or unconscious X-Com. If it was 12, it would work on conscious and unconscious civilians, but not aliens or X-Com.
So, if all of your medikit items have a medikitTargetMatrix of 42, then you would be unable to use them on unconscious units.
medikitTargetSelf isn't part of this variable, and can be
true or
false depending on if you want the user to be able to heal himself or not.
medikitTargetImmune allows you to have certain medikit items be usable on units that you normally cannot use medikits on.