Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Disabling Mouse movements in Game.Interactive = false;  (Read 2356 times)

0 Members and 1 Guest are viewing this topic.

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Disabling Mouse movements in Game.Interactive = false;
« on: January 16, 2007, 05:27:19 PM »

Is there any way how can I disable mouse movements?

I have a script which traces the mouse movement and use this for some feature, but I'd like to stop this if game enters noninteractive mode.
I'd need some general workaround since I use this quite often in noninteractive scenes and it looks stupid when I perform some thing and
player by moving mouse puts the object to different place. :)

Something like Game.FreezeMouse(); would be greatly appreciated.
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Disabling Mouse movements in Game.Interactive = false;
« Reply #1 on: January 16, 2007, 05:42:39 PM »

You mean you'd like to freeze the mouse pointer at one position? Couldn't you employ some script which periodically returns the pointer to some neutral position?
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: Disabling Mouse movements in Game.Interactive = false;
« Reply #2 on: January 16, 2007, 05:43:58 PM »

yup. I could do that, but this would mean another script running (eating power) whilst on the engine side it would be actually
less work (not updating mouse coordinates) so it seemed to me cleaner. But anyway, if this would be too much of a hassle, I'll make it through script.

Thanks anyway! :)
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet
 

Page created in 0.039 seconds with 24 queries.