GetIsPC

From NWN Lexicon



Contents

[edit] GetIsPC(object)

Check whether a creature is player controlled.

int GetIsPC(
    object oCreature
);

[edit] Parameters

oCreature

The creature to check for PC status.


[edit] Description

Returns TRUE if oCreature is a player controlled character, otherwise FALSE.

A player controlled character is treated as one of the following: a PC, DM avatars, familiars possessed by PCs, monsters possessed by DMs.



[edit] Remarks

GetAge can also be used to determine if a creature is a PC (as NPCs have no age). See the GetAge entry for more information.


[edit] Version

1.29

[edit] See Also

functions: 

GetMaster



 author: Tom Cassiotis, editor: Charles Feduke, additional contributor(s): Jochem van 't Hull, George Mathis
 

Personal tools
Categories