GetIsDM

From NWN Lexicon



Contents

[edit] GetIsDM(object)

Determines whether a creature is a DM avatar.

int GetIsDM(
    object oCreature
);

[edit] Parameters

oCreature

The creature to determine if it is a DM avatar.


[edit] 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().



[edit] Version

1.28

[edit] See Also

functions: 

GetMaster



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

Personal tools
Categories