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

Zoom Scrolling

Status
Not open for further replies.
Level 24
Joined
Nov 9, 2006
Messages
2,558
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