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

Zoom Scrolling

Status
Not open for further replies.
Level 24
Joined
Nov 9, 2006
Messages
2,561
Hello, i just noticed that the producer update: native list has some new features that can detect mouse scrolling. I'm not really that into vjass, so i was wondering if anyone could do something like a camera zoom with mouse scrolling? With such a system, the camera angle of attack would probably need to be reset or kept in check.

This is a light request, so i'm not expecting anything, but i wanted to put the seed for the idea out there.

JASS:
    constant mouseevent MOUSE_WHEEL_ANY                          //Triggers when the mouse wheel scrolls up or down
    constant mouseevent MOUSE_WHEEL_UP                           //Triggers when the mouse wheel scrolls up
    constant mouseevent MOUSE_WHEEL_DOWN
 
Status
Not open for further replies.
Top