Skip to content

getcastlename()

Warning

This page may contain outdated information, incompatible with the current version of Hercules and its coding standards.

Syntax

getcastlename("<map name>");

Description

This function returns the name of the castle when given the map name for that castle. The data is read from db/castle_db.txt.