# Camera Target Of Player

Grammar — Current camera target of player player
FlagsNative | Function

Returns the current camera target of a player. Camera targets are tracked for all players in a multiplayer game, but the queried locations will be slightly old due to network latency.

# Arguments

  • int — Player

Returns — point

native point CameraGetTarget(int player);

Category: Camera / Basic

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L1656
CameraGetTarget(gv_p1_USER)
// L3618
CameraGetTarget(gv_p1_USER)
// L3470
CameraGetTarget(gv_pLAYER_01_USER)
// L3525
CameraGetTarget(gv_pLAYER_01_USER)
// L3579
CameraGetTarget(gv_pLAYER_01_USER)
// L5966
CameraGetTarget(gv_pLAYER_01_USER)
// L5969
CameraGetTarget(gv_pLAYER_01_USER)
// L1803
CameraGetTarget(gv_p1_USER)
// L2513
CameraGetTarget(gv_pLAYER01_USER)
// L3063
CameraGetTarget(gv_pLAYER01_USER)
// L3071
CameraGetTarget(gv_pLAYER01_USER)
// L3079
CameraGetTarget(gv_pLAYER01_USER)
// L3116
CameraGetTarget(gv_pLAYER01_USER)
// L3124
CameraGetTarget(gv_pLAYER01_USER)
// L3132
CameraGetTarget(gv_pLAYER01_USER)
// L3140
CameraGetTarget(gv_pLAYER01_USER)
// L3177
CameraGetTarget(gv_pLAYER01_USER)
// L3185
CameraGetTarget(gv_pLAYER01_USER)
// L2836
CameraGetTarget(gv_p01_USER)
// L1004
CameraGetTarget(gv_pLAYER01_USER)
// L2003
CameraGetTarget(gv_p01_USER)
// L2270
CameraGetTarget(gv_p01_USER)
// L2585
CameraGetTarget(gv_p01_USER)
// L823
CameraGetTarget(gv_p01_USER)
// L1397
CameraGetTarget(gv_p01_USER)
// L495
CameraGetTarget(gv_p01_USER)
// L4950
CameraGetTarget(gv_p01_USER)
// L4662
CameraGetTarget(gv_p1_USER)
// L8406
CameraGetTarget(gv_p1_USER)
// L4352
CameraGetTarget(gv_p1_USER)
// L4416
CameraGetTarget(gv_p1_USER)
// L2514
CameraGetTarget(gv_p01_USER)
// L2562
CameraGetTarget(gv_p01_USER)
// L2610
CameraGetTarget(gv_p01_USER)
// L4338
CameraGetTarget(gv_p01_PLAYER)
// L4412
CameraGetTarget(gv_p01_PLAYER)
// L404
CameraGetTarget(gv_pLAYER_USER)
// L368
CameraGetTarget(gv_pLAYER_USER)
// L414
CameraGetTarget(gv_pLAYER_USER)
// L1656
CameraGetTarget(gv_p1_USER)
// L3618
CameraGetTarget(gv_p1_USER)
// L3470
CameraGetTarget(gv_pLAYER_01_USER)
// L3525
CameraGetTarget(gv_pLAYER_01_USER)
// L3579
CameraGetTarget(gv_pLAYER_01_USER)
// L5966
CameraGetTarget(gv_pLAYER_01_USER)
// L5969
CameraGetTarget(gv_pLAYER_01_USER)
// L1803
CameraGetTarget(gv_p1_USER)
// L2513
CameraGetTarget(gv_pLAYER01_USER)
// L3063
CameraGetTarget(gv_pLAYER01_USER)
// L3071
CameraGetTarget(gv_pLAYER01_USER)
// L3079
CameraGetTarget(gv_pLAYER01_USER)
// L3116
CameraGetTarget(gv_pLAYER01_USER)
// L3124
CameraGetTarget(gv_pLAYER01_USER)
// L3132
CameraGetTarget(gv_pLAYER01_USER)
// L3140
CameraGetTarget(gv_pLAYER01_USER)
// L3177
CameraGetTarget(gv_pLAYER01_USER)
// L3185
CameraGetTarget(gv_pLAYER01_USER)
// L2836
CameraGetTarget(gv_p01_USER)
// L1004
CameraGetTarget(gv_pLAYER01_USER)
// L2003
CameraGetTarget(gv_p01_USER)
// L2270
CameraGetTarget(gv_p01_USER)
// L2585
CameraGetTarget(gv_p01_USER)
// L823
CameraGetTarget(gv_p01_USER)
// L1397
CameraGetTarget(gv_p01_USER)
// L495
CameraGetTarget(gv_p01_USER)
// L4950
CameraGetTarget(gv_p01_USER)
// L4662
CameraGetTarget(gv_p1_USER)
// L8406
CameraGetTarget(gv_p1_USER)
// L4352
CameraGetTarget(gv_p1_USER)
// L4416
CameraGetTarget(gv_p1_USER)
// L2514
CameraGetTarget(gv_p01_USER)
// L2562
CameraGetTarget(gv_p01_USER)
// L2610
CameraGetTarget(gv_p01_USER)
// L4338
CameraGetTarget(gv_p01_PLAYER)
// L4412
CameraGetTarget(gv_p01_PLAYER)
// L404
CameraGetTarget(gv_pLAYER_USER)
// L368
CameraGetTarget(gv_pLAYER_USER)
// L414
CameraGetTarget(gv_pLAYER_USER)
// L1751
CameraGetTarget(gv_pLAYER_01_USER)
// L376
CameraGetTarget(gv_pLAYER_01_USER)
// L1534
CameraGetTarget(gv_pLAYER_01_USER)
// L4662
CameraGetTarget(gv_pLAYER_01_USER)
// L4663
CameraGetTarget(gv_pLAYER_01_USER)
// L4702
CameraGetTarget(gv_pLAYER_01_USER)
// L4703
CameraGetTarget(gv_pLAYER_01_USER)
// L643
CameraGetTarget(gv_pLAYER_01_USER)
// L7019
CameraGetTarget(gv_pLAYER_01_USER)
// L7048
CameraGetTarget(gv_pLAYER_01_USER)
// L2242
CameraGetTarget(gv_pLAYER_01_USER)
// L4376
CameraGetTarget(gv_pLAYER_01_USER)
// L8011
CameraGetTarget(gv_pLAYER_01_USER)
// L8019
CameraGetTarget(gv_pLAYER_01_USER)
// L8027
CameraGetTarget(gv_pLAYER_01_USER)
// L8049
CameraGetTarget(gv_pLAYER_01_USER)
// L8152
CameraGetTarget(gv_pLAYER_01_USER)
// L8160
CameraGetTarget(gv_pLAYER_01_USER)
// L8168
CameraGetTarget(gv_pLAYER_01_USER)
// L8190
CameraGetTarget(gv_pLAYER_01_USER)
// L5710
CameraGetTarget(gv_pLAYER_01_USER)
// L5833
CameraGetTarget(gv_pLAYER_01_USER)