GetIsDMPossessed

From NWN Lexicon



Contents

[edit] GetIsDMPossessed(object)

Returns whether the creature is possessed by a DM

int GetIsDMPossessed(
    object oCreature
);

[edit] Parameters

oCreature

Creature to check whether is possessed


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



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


[edit] Version

1.31

[edit] See Also

functions: 

GetMaster



 author: Lilac Soul
 

Personal tools
Categories