CreateTextTagUnitBJ
- Parameters
-
s string
whichUnit unit
zOffset real
size real
red real
green real
blue real
transparency real
- comment
- patch
1.07
- Source
- Blizzard.j
- return type
texttag
- Source code
function CreateTextTagUnitBJ takes string s, unit whichUnit, real zOffset, real size, real red, real green, real blue, real transparency returns texttag set bj_lastCreatedTextTag = CreateTextTag() call SetTextTagTextBJ(bj_lastCreatedTextTag, s, size) call SetTextTagPosUnitBJ(bj_lastCreatedTextTag, whichUnit, zOffset) call SetTextTagColorBJ(bj_lastCreatedTextTag, red, green, blue, transparency) return bj_lastCreatedTextTag endfunction