Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Clientside] Clickable animation menu
#1
Hi. I've just started to learn how to code in Squirrel and this script was the first solution I've ever written in it. It's clickable animation menu, so you can use your mouse to control it. When the menu appears, player and camera movement is blocked. However, I highly recommend to change your cursor sensitivity using:

Code:
void setCursorSensitivity(float number);

As you are going to see, the cursor is always centered. It doesn't allow certain bug to occur. Also, there's one problem. Script is in polish, but it won't be an issue to translate it. Here is the script itself:


As you can see, the code sucks, but it works and someone can find it useful. The menu appears by pressing F9 button. 

You can delete the authorDraw, if you really want to, but please, don't pretend that this is your script.

Hope you enjoy.
Reply


Messages In This Thread
[Clientside] Clickable animation menu - by Buras - 04.01.2016, 21:52

Possibly Related Threads…
Thread Author Replies Views Last Post
  [CLIENTSIDE/dev8] Color Draws Osmith 2 4,578 26.02.2017, 18:55
Last Post: Bimbol
  [Clientside] Simple animations menu Sative 0 2,623 04.01.2016, 17:23
Last Post: Sative

Forum Jump:


Users browsing this thread: 1 Guest(s)