• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] TextTag + Camera

Status
Not open for further replies.

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,219
I am a little unsure, but I think this should work.
JASS:
local location loc
local real x
local real y

if GetLocalPlayer() == yourPlayer then
    set loc = GetCameraTargetPositionLoc()
endif

set x = GetLocationX(loc)
set y = GetLocationY(loc)

//modify the x and y values

call SetTextTagPos(yourTextTag, x, y, z)

call RemoveLocation(loc)
 
Status
Not open for further replies.
Top