• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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