AddPlayerTechResearched

Parameters
whichPlayer player

The player who the upgrade will be researched for.

techid integer

The four digit rawcode ID of the upgrade.

levels integer

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

comment

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).

patch

1.00

return type
nothing
Source code
constant native AddPlayerTechResearched takes player whichPlayer, integer techid, integer levels returns nothing
Source
common.j
wc3modding.com
AddPlayerTechResearched