SetTextTagVelocityBJ
- Parameters
-
tt texttag
speed real
angle real
- comment
- patch
1.07
- Source
- Blizzard.j
- return type
nothing
- Source code
function SetTextTagVelocityBJ takes texttag tt, real speed, real angle returns nothing local real vel = TextTagSpeed2Velocity(speed) local real xvel = vel * Cos(angle * bj_DEGTORAD) local real yvel = vel * Sin(angle * bj_DEGTORAD) call SetTextTagVelocity(tt, xvel, yvel) endfunction