Simple widget to move camera to mouse pointer

Simple widget to move camera to mouse pointer

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
Tumulten
Posts: 6
Joined: 03 Feb 2013, 16:22

Simple widget to move camera to mouse pointer

Post by Tumulten »

Hey, this is my first widget and it was mostly made just to learn Lua and Spring widgets + it was something i wanted :)

This widget will move your camera so its centered where your mouse-pointer is. Default keybind for this is "ctrl+space/meta", but you're welcome to change it to whatever you prefer.
Attachments
cam_move_to_mpointer.lua
(1.99 KiB) Downloaded 12 times
Post Reply

Return to “Lua Scripts”