BlzGetUnitWeaponIntegerField
- Parameters
-
whichUnit unit
whichField unitweaponintegerfield
index integer
- comment
- bug
Might crash the game when called on a unit with no attack.
- patch
1.31.0.11889
- Source
- common.j
- return type
integer
- Source code
native BlzGetUnitWeaponIntegerField takes unit whichUnit, unitweaponintegerfield whichField, integer index returns integer