Function AddPlayerTechResearched

  • In upgrades that have multiple levels, it will research the upgrade by the number of levels specified. (it adds the number of levels to the current research level, see SetPlayerTechResearched to set the research level).

    Parameters

    • whichPlayer: Player<PlayerEventMap>

      The player who the upgrade will be researched for.

    • techid: number

      The four digit rawcode ID of the upgrade.

    • levels: number

      The number of levels to add to the current research level of the upgrade.

    Returns void

Generated using TypeDoc