• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Trigger] How do i turn of the mouse scroll when camera is used?

Status
Not open for further replies.
I don't quite understand what you mean. Do you want the camera locked on a unit, so you can't scroll around? If so, check out The_Flood's Camera system. Try using Cinematic Mode, or Letterbox mode so player's can't look around.
 
These two disable camera moving with scrolling the mouse:

  • Untitled Trigger 012
    • Events
      • Time - Every 0.03 seconds of game time
    • Conditions
    • Actions
      • Camera - Set Player 1 (Red)'s camera Distance to target to r5 over 0.02 seconds
      • Camera - Set Player 1 (Red)'s camera Angle of attack to r6 over 0.02 seconds
Edit the time to your pleasing.

I used these values:
  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set r5 = (Distance to target of (Current camera))
      • Set r6 = (Angle of attack of (Current camera))
You can set anything you want in there.
 
Untitled Trigger 012
Events
Time - Every 0.03 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Distance to target of (Current camera)) Less than 1800.00
Then - Actions
Camera - Set Player 1 (Red)'s camera Distance to target to 1800.00 over 0.10 seconds
Else - Actions
 
Status
Not open for further replies.
Back
Top