GetIsDM

From NWN Lexicon
Jump to: navigation, search



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 whether the creature is controlled by a DM, use GetIsDMPossessed().



Version

1.28

See Also

functions: 

GetMaster



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