Disabling the Delete/Insert camera altering.

Status
Not open for further replies.
You can periodicly set it to your wanted x/y.
And then you make a trick, to move your Cam exremly slow to an extreme far away point. (so it effectivly does nothing, but disabling key usage)

Example to lock at coordiantes at 0/0:

JASS:
function test takes nothing returns nothing
    call PanCameraToTimed(0x0, 0x0, 0x0) // point where you want to be
    call PanCameraToTimed(0x7FFFFFFF, 0x7FFFFFFF, 0x7FFFFFFF) // trick
endfunction

//===========================================================================
function InitTrig_Untitled_Trigger_001 takes nothing returns nothing
    call TimerStart(CreateTimer(), 0.1, true, function test)
endfunction

Aniki explained this trick here: [vJASS] - LockedCamera
 
Status
Not open for further replies.
Top