GetHandleId

From WarCraft3

Jump to: navigation, search

Template:common.j article series


common.j

native GetHandleId takes handle h returns integer
Confused? Jass help forum!

GetHandleId was added in patch 1.23b as a replacement for H2I, which no longer worked after the traditional return bug was fixed in the patch. As GetHandleId works exactly like H2I, all a user needs to do in order to make code using H2I work with 1.23b is replace every occurance of H2I with GetHandleId and remove the declaration of H2I.

Personal tools