GetIsDMPossessed

From NWN Lexicon
Revision as of 01:27, 26 August 2012 by Dood (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search



GetIsDMPossessed(object)

Returns whether the creature is possessed by a DM

int GetIsDMPossessed(
    object oCreature
);

Parameters

oCreature

Creature to check whether is possessed


Description

Returns TRUE if the creature oCreature is currently possessed by a DM character.

Returns FALSE otherwise.

Note: GetIsDMPossessed() will return FALSE if oCreature is the DM character.

To determine if oCreature is a DM character use GetIsDM()



Remarks

This function appears to do the same as this:

GetIsDM(GetMaster(oCreature));

If you know of any differences between the two, the Lexicon's authors would love to hear from you :)


Version

1.31

See Also

functions: 

GetMaster



 author: Lilac Soul