GetModuleName

From NWN Lexicon
Jump to: navigation, search



GetModuleName()

Get the module name.

Description

Returns a string that is the name of the module in the language of the server. If there is no entry for the language of the server, then the function will return “”.



Remarks

This does NOT return the name of the module file.

The name of the module is defined in the Module Properties.

Version

1.22

Example

// This will get the name of the module.
 
void main()
{
    SendMessageToPC(GetFirstPC(),GetModuleName());
}

See Also

functions: 

GetModule



 author: GoLeM, editor: Kristian Markon, Mistress