Chaosy
Tutorial Reviewer
- Joined
- Jun 9, 2011
- Messages
- 13,239
As the title says I want to disable the arrow keys function to control the camera.
I searched a little but according to the replies it was impossible to flat out disable it. However a few claimed that you could trigger it so it seemed like it was disabled.
I tried the three examples given in this thread: http://www.hiveworkshop.com/forums/...ible-disable-arrow-key-camera-panning-183686/
None of them worked as intended, they were buggy and had a delay before restoring the camera. Hopefully something has been discovered since 2010.
edit:
I am using the following: This prevents the camera from moving as intended. However, unless I unlock it afterwards I wont be able to move the camera with the mouse.
I searched a little but according to the replies it was impossible to flat out disable it. However a few claimed that you could trigger it so it seemed like it was disabled.
I tried the three examples given in this thread: http://www.hiveworkshop.com/forums/...ible-disable-arrow-key-camera-panning-183686/
None of them worked as intended, they were buggy and had a delay before restoring the camera. Hopefully something has been discovered since 2010.
edit:
I am using the following: This prevents the camera from moving as intended. However, unless I unlock it afterwards I wont be able to move the camera with the mouse.
-
Key Disable
-
Events
-
Conditions
-
Actions
-
the trigger is started from another trigger, don't worry about the event.
-
Set tloc = (Target of (Current camera))
-
Unit - Move cam_dummy instantly to tloc
-
Camera - Lock camera target for Player 1 (Red) to cam_dummy, offset by (0.00, 0.00) using Default rotation
-
Custom script: call RemoveLocation(udg_tloc)
-
-