Texttag

Handle Wrappers View source
Texttag

Source on GitHub

Re-exports: Vectors, Colors

Functions

createTTEx

public function createTTEx(vec3 pos, string message, real size) returns texttag

createTTEx

public function createTTEx(vec3 pos, string message, real size, colorA col) returns texttag

createTTEx

public function createTTEx(vec3 pos, string message, real size, colorA col, player p) returns texttag

createTTEx

public function createTTEx(vec3 pos, vec2 vel, string message, real size, real duration, colorA col) returns texttag

createTTEx

public function createTTEx(vec3 pos, vec2 vel, string message, real size, real duration, colorA col, player p) returns texttag

Extension Functions

texttag.setPos

public function texttag.setPos(real x, real y, real z)

texttag.setPos

public function texttag.setPos(vec3 pos)

texttag.setColor

public function texttag.setColor(int r, int g, int b, int a)

texttag.setSuspended

public function texttag.setSuspended(boolean flag)

texttag.setColor

public function texttag.setColor(colorA col)

texttag.setText

public function texttag.setText(string text, real size)

texttag.setLifespan

public function texttag.setLifespan(real span)

texttag.setPermanent

public function texttag.setPermanent(boolean flag)

texttag.setFadepoint

public function texttag.setFadepoint(real fadepoint)

texttag.setAge

public function texttag.setAge(real age)

texttag.setVelocity

public function texttag.setVelocity(real xvel, real yvel)

texttag.setVelocity

public function texttag.setVelocity(vec2 vel)

texttag.setVisibility

public function texttag.setVisibility(boolean flag)

texttag.matchVisibility

public function texttag.matchVisibility(unit target)

Change the visibility based on whether the local player can see the given unit. This won’t update if the unit moves or the local player gains vision of it.

texttag.matchVisibility

public function texttag.matchVisibility(vec2 pos)

Change the visibility based on whether the local player can see the given position. This won’t update if local player gains vision of it.

texttag.match

public function texttag.match(unit target)

Match the visibility and position of the texttag to the given unit. This won’t update if the unit moves or the local player gains vision of it.

texttag.match

public function texttag.match(unit target, vec2 offset)

Match the visibility and position with an offest of the texttag to the given unit. This won’t update if the unit moves or the local player gains vision of it.

texttag.destr

public function texttag.destr()