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