• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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