For individual facts, the function will only ever return anybody if parameter 2 is set to 1. If it is, and if parameter 3 is either MALES_FIRST or FEMALES_FIRST, the fact owner will be returned.
For family facts, if parameter 3 is set to MALES_FIRST, the first fact owner is deemed to be the father if there is one, and the second fact owner is the mother. If there is no father, the mother is the first fact owner.
If parameter 3 is set to FEMALES_FIRST, the first fact owner is deemed to be the mother if there is one, and the second fact owner is the father. If there is no mother, the father is the first fact owner.
If parameter 3 is set to MALES_ONLY, parameter 2 must be set to 1, and the male fact owner will be returned, if there is one. If there isn't, NULL is returned. If parameter 3 is set to FEMALES_ONLY, parameter 2 must again be set to 1, and the female fact owner will be returned, if there is one.
This must be one of the following values:
=FactOwner(%FACT%, 2, MALES_FIRST)
=FactOwner(%FACT%, 1, FEMALES_ONLY)