Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC Hero.SetPrimaryAttribute

From Valve Developer Community
Jump to: navigation, search
Note: This page is automatically generated. Any changes may be overwritten

Function Description

void SetPrimaryAttribute(int nPrimaryAttribute)

Set this hero's primary attribute value.


Example
function CDOTA_BaseNPC_Hero:SetPrimaryAttribute( nPrimaryAttribute ) end

Parameters

Type Name Description
int nPrimaryAttribute No Description Set