• Pure

    Returns the human-readable unit order string.

    Example (Lua):

    OrderId2String(851995) --> returns "humanbuild" (opens human build menu)
    

    Parameters

    • orderId: number

    Returns string

    Note

    See: OrderId

    Bug

    Always returns null after the game is loaded/if the game is a replay.

    Bug

    Do not use this in a global initialisation (map init) as it returns null there.

Generated using TypeDoc