• Async

    Returns the integer hotkey for a specific game action à la "GAMEOVER_QUIT_GAME". You can look up potential values in UI\FrameDef\GlobalStrings.fdf.

    Parameters

    • source: string

    Returns number

    Note

    To define own values you have to import a file named war3mapMisc.txt into your map. A sample war3mapMisc.txt could look like this:

    [Hotkeys]
    ,=44
    !='!'
    A='A'
    B='B'
    C='C'
    // etc.

    See also https://www.hiveworkshop.com/threads/chrord.274579/.

Generated using TypeDoc