[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
Skyline Forums • View topic - getMouseDelta
Help with your scripting

getMouseDelta

getMouseDelta

Postby ant0N » 16 Aug 2014, 17:17

what is returned from this command?
If I don't move the cursor, I get the values 1 or-1. But sometimes there are other values are 7, -10 and any other number.
Isn getMouseDelta() should not return 0, if not move the cursor?
User avatar
ant0N
Skyline Moderator
Skyline Moderator
 
Posts: 415
Joined: 02 Nov 2012, 12:49
Location: Россия, Москва
Skill: Programmer
Skill: 3D Modeller

Re: getMouseDelta

Postby SolarPortal » 16 Aug 2014, 19:15

User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: getMouseDelta

Postby ant0N » 17 Aug 2014, 05:06

Thank you! I'll wait for the next release. :D
User avatar
ant0N
Skyline Moderator
Skyline Moderator
 
Posts: 415
Joined: 02 Nov 2012, 12:49
Location: Россия, Москва
Skill: Programmer
Skill: 3D Modeller


Return to Lua Scripting

Who is online

Users browsing this forum: No registered users and 6 guests

cron