AddPlayerTechResearched
- Parameters
whichPlayer playerThe player who the upgrade will be researched for.
techid integerThe four digit rawcode ID of the upgrade.
levels integerThe 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
SetPlayerTechResearchedto set the research level).- patch
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
nothing- Source code
constant native AddPlayerTechResearched takes player whichPlayer, integer techid, integer levels returns nothing