object GetAssociate (int nAssociateType, object oMaster=OBJECT_SELF
ASSOCIATE_TYPE_*constant indicating which kind of associate is being sought.
- The creature whose associate is being retrieved.
- The (1-based) index of the associate being retrieved. Changing this from the default only serves a purpose when there is more than one associate of the specified type (which typically can only happen for henchmen).
Returns OBJECT_INVALID if no such associate exists.