Jump to content


Photo

Forsaken World turn script help


  • Please log in to reply
1 reply to this topic

#1 probo

probo
  • Members
  • 12 posts

Posted 15 July 2012 - 11:29 PM

Hi, in this game you must use the mouse to look to the sides, and you must hold the right mousebutton to look to the sides, its a pretty awkward control system, and I want to be able to turn using the keyboard! So here is what a potential script needs to do (and I'm asking here because I don't know how to do any of the steps in the making of this):

When I hold down the left button on the keyboard, I want a script that holds down the right mousebutton and drags the mouse to the left in a straight line at average speed. (When I let go of the left keyboard button the right mousebutton and dragging towards the left with the mouse should stop.)

I will probably understand where in the code to adjust the speed of the mouse movement, or you are welcome to point towards it. I might also be able to craft a reversed button for the right keyboard button aswell by adjusting some random variables.:)

If anyone takes the time to fix something like this I would be grateful! Thanks in advance!

#2 Blackholyman

Blackholyman
  • Members
  • 1215 posts

Posted 16 July 2012 - 06:25 AM

Hey Probo

Have a look in the The definitive autofire thread! aka the The Self-Sender:

And here MouseClickDrag plus maybe the KeyList

After that, trie and put it together in a script and se if that works for you...

Else come back here and post the script and ofc. the things you tried to make it work :D

Hope it helps :)