GetName

From NWN Lexicon



Contents

[edit] GetName(object, int)

Retrieves the name of an object.

string GetName(
    object oObject,
    int bOriginalName = FALSE
);

[edit] Parameters

oObject

Object who's name is sought.

bOriginalName

If set to TRUE any new name specified via SetName() is ignored and the original object's name is returned instead. (Default: FALSE)


[edit] Description

Returns the first and last name of oObject. In the case of creatures, returns first and last names together as single concatenated string.



[edit] Remarks

GetName() returns the name of modules and areas (pre-1.25 it returned a null string).


[edit] Known Bugs

Returns "" for stores.


[edit] Version

1.67

[edit] See Also

functions: 

SetName



 author: Kristian Markon, editor: Lilac Soul, Mistress, additional contributor(s): Simon Damberger, Lilac Soul

 

Personal tools
Categories