Difference between revisions of "GetEsp"
no edit summary
imported>Speedo |
imported>Speedo |
||
Line 5: | Line 5: | ||
'''Syntax:''' | '''Syntax:''' | ||
(EspID:long) GetEsp ''"EspFilename:string"'' | (EspID:long) GetEsp ''"EspFilename:string"'' | ||
(EspID:long) GetEsp ''StringID:long'' | |||
Returns the Pluggy internal EspID corresponding an active esp or esm file. | Returns the Pluggy internal EspID corresponding an active esp or esm file. | ||
*May be used with either a string constant or StringID | |||
*It returns -1 if the esp is not active. | *It returns -1 if the esp is not active. | ||
*If no EspFilename is specified, GetEsp returns the EspID of the calling esp (of the script). | *If no EspFilename or StringID is specified, GetEsp returns the EspID of the calling esp (of the script). | ||
'''Example:''' | '''Example:''' |