The search keyword must be a single word (no spaces).
Function CreateTextTagUnitBJ
- Line
- 6472
- Location
- blizzard.j
- Constant?
- no
- Type
- function
- Arguments
- string s, unit whichUnit, real zOffset, real size, real red, real green, real blue, real transparency
- Returns
- texttag
| 6472 | function CreateTextTagUnitBJ takes string s, unit whichUnit, real zOffset, real size, real red, real green, real blue, real transparency returns texttag |
| 6473 | set bj_lastCreatedTextTag = CreateTextTag() |
| 6474 | call SetTextTagTextBJ(bj_lastCreatedTextTag, s, size) |
| 6475 | call SetTextTagPosUnitBJ(bj_lastCreatedTextTag, whichUnit, zOffset) |
| 6476 | call SetTextTagColorBJ(bj_lastCreatedTextTag, red, green, blue, transparency) |
| 6477 | |
| 6478 | return bj_lastCreatedTextTag |
| 6479 | endfunction
|