📝GameLocalizer
Table to work with game localization.
Localization tokens are stored in resource/localization
folder in pak01_dir.vpk
Find(token: string
): string
string
): string
Name
Type
Description
token
string
should be in format #token
Returns localized string by token or returns empty string if token not found.
Example
FindAbility(ability_name: string
): string
string
): string
Name
Type
Description
ability_name
string
Returns localized string by ability name or returns empty string if ability not found.
Example
FindItem(item_name: string
): string
string
): string
Name
Type
Description
item_name
string
Returns localized string by item name or returns empty string if item not found.
Example
FindNPC(unit_name: string
): string
string
): string
Name
Type
Description
unit_name
string
Returns localized string by unit name or returns empty string if unit not found.
Example
Last updated