• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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