• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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:
https://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.
Back
Top