Skip to main content

PlatformProfileDrawPerkButton

Callable

  • PlatformProfileDrawPerkButton(X: number, Y: number, PerkNum: number, Prerequisite1: any, Prerequisite2: any): void

  • Draws the perk button on the screen, the color changes based on if the perk is available or paid


    Parameters

    • X: number

      The X position on screen

    • Y: number

      The Y position on screen

    • PerkNum: number

      The perk number for the current character

    • Prerequisite1: any

      If there's a first prerequisite to validate

    • Prerequisite2: any

      If there's a second prerequisite to validate

    Returns void

    • Nothing