BlzGetFrameByName
- Parameters
-
name string
createContext integer
- comment
Requires a string for the frame name that you want to retrieve (get), and an integer (which in most cases should be 0) that specifies the index of the frame that you want to get (for example for inventory slots you have 6, from 0-5).
Read from the internal Frame-Storage. The first time a Frame enters the map's script it takes a handleId.
Example:
BlzGetFrameByName("SimpleHeroLevelBar", 0)
.- note
Refer to fdf files for frame names.
- patch
1.31.0.11889
- Source
- common.j
- return type
framehandle
- Source code
native BlzGetFrameByName takes string name, integer createContext returns framehandle