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

will this desync?

Status
Not open for further replies.
Level 7
Joined
Jan 30, 2011
Messages
267
will this cause desync?

JASS:
function SetVision takes player p returns nothing
    local location t = null
    if (GetLocalPlayer()==p) then
        set t = Location( GetCameraTargetPositionX()+1000 , GetCameraTargetPositionY()+1000 )
        call PanCameraToTimedLocForPlayer( p, t, 0 )
    endif
    call RemoveLocation(t)
    set t=null
endfunction
 
Status
Not open for further replies.
Top