• 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.

GetCameraTargetPositionX/Y

Status
Not open for further replies.
GetCameraTargetPositionX/Y() returns local values.

So if you do this:
JASS:
call BJDebugMsg(R2S(GetCameraTargetPositionX()))
It can display different values for different players. For example, Player 1 might display 0.00, Player 2 might have it display 1024.00, Player 3 might have it display -764.00.. etc. There isn't a native to get the X/Y of the camera for a specific player. You might be able to do it with some syncing, but I never tried it.

EDIT: See this:
http://www.hiveworkshop.com/forums/spells-569/network-v2-0-0-0-a-226065/?prev=mmr=6

With R2I() you can actually just use that to sync values if you need to.
 
Status
Not open for further replies.
Top