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

Disable player scroll

Status
Not open for further replies.
After you applied your camere position or what ever, as last action put the following custom script:
  • Custom script: call PanCameraToTimed(0x7FFFFFFF, 0x7FFFFFFF, 0x7FFFFFFF)
^This is suited if it doesn't matter for player, as it will be applied for all players.

If it must run for only one player you need the following solution with one player variable:
  • Set Player = Player 1
  • Custom script: PanCameraToTimedForPlayer(udg_Player, 0x7FFFFFFF, 0x7FFFFFFF, 0x7FFFFFFF)
 
  • Like
Reactions: Edy

Edy

Edy

Level 9
Joined
Nov 21, 2015
Messages
226
All Initialization
Events
Map initialization
Conditions
Actions
Sound - Clear the music list
Sound - Play PH1 <gen>
Floating Text - Create floating text that reads KEK above Murloc 0014 <gen> with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Set FloatingText[1] = (Last created floating text)
-------- - QUEST SECTION - --------
Quest - Create a Optional quest titled Credits with the description Created by Edy. ..., using icon path ReplaceableTextures\CommandButtons\BTNMurlocHut1.blp
-------- - ALL VISION - --------
Visibility - Disable fog of war
Visibility - Disable black mask
Camera - Change camera smoothing factor to 2.00
Camera - Set the camera bounds for (Player((Integer A))) to Camera Bounds <gen>
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
Visibility - Create an initially Enabled visibility modifier for (Player((Integer A))) emitting Visibility across (Entire map)
Camera - Set the camera bounds for (Player((Integer A))) to Camera Bounds <gen>
Camera - Apply Game Camera Bamboo <gen> for (Player((Integer A))) over 0.00 seconds
IIIIIII Custom script: call PanCameraToTimed(0x7FFFFFFF, 0x7FFFFFFF, 0x7FFFFFFF) IIIIIIIII
-------- - TIME OF DAY - --------
Game - Set the time of day to 9.00
Game - Turn the day/night cycle Off


This is part of my main map init, idk it doesn't work for me. It's ok if it's for all players i don't mind (even for all 24).
 

Edy

Edy

Level 9
Joined
Nov 21, 2015
Messages
226
It stops me now from scrolling via mouse and via insert/delete(PGup,PGdown). I also needed this for one part..
But for this all I need is to permanetly have a fixed camera distance and an a applied camera object.
 

Edy

Edy

Level 9
Joined
Nov 21, 2015
Messages
226
Is it that weird, I have a small arena, a fixed cam distance and I wan't to disable those controls because of the way the arena is made(It has only doodads no terrain texture whatsoever)
 
Status
Not open for further replies.
Top