GetAssociate(int, object)

object GetAssociate(
    int nAssociateType,
    object oMaster = OBJECT_SELF
);

Parameters

nAssociateType

ASSOCIATE_TYPE_*

oMaster

仲間の情報を調べたいプレイヤーキャラクター。(デフォルト:OBJECT_SELF)


Description

指定したタイプのNPCの仲間がいる場合に、そのobject型を返します。

いない場合にはOBJECT_INVALIDを返します。



Version

1.22

See Also

functions: AssociateCheck | GetAnimalCompanionCreatureType | GetAssociateCRMax | GetAssociateHealMaster | GetAssociateStartLocation | GetAssociateState | GetFamiliarCreatureType | GetHenchman | GetLastAssociateCommand | GetMaster | RemoveSummonedAssociate | SetAssociateState
categories: Get Data from Creature Functions | Henchmen/Familiars/Summoned Functions
constants: ASSOCIATE_TYPE_* Constants


author: Charles Feduke, JP team: marshall
Send comments on this topic.