GetIsDM(object)

Determines whether a creature is a DM avatar.

int GetIsDM(
    object oCreature
);

Parameters

oCreature

The creature to determine if it is a DM avatar.


Description

Returns TRUE if oCreature is a DM (Dungeon Master) avatar. Returns FALSE for everything else, including creatures controlled by the DM.

If you check the master of the target with this, it will actually be the same as GetIsDMPossessed(), and was a workaround until it appeared.

To determine wether the creature is controlled by a DM, use GetIsDMPossessed().



Version

1.28

See Also

functions: GetIsDMPossessed | GetIsPC | GetMaster
categories: Get Data from Creature Functions


 author: Tom Cassiotis, editor: Jasperre, additional contributor(s): Jochem van 't Hull, Jasperre