Please login or register.

Login with username, password and session length
Advanced search  


Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Not sure if this is a bug or problem but, about MouseEntry/MouseLeave  (Read 8042 times)

0 Members and 1 Guest are viewing this topic.


  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 117
  • No pain, no game!
    • View Profile
    • Indie Flux

I want to know if MouseEntry and MouseLeave are events with a window object?  The docs don't tell you if this is a lowlevel event that it uses.
Keith Weatherby II
uhfgood -AT- frontier -DOT- com
Games Afoot Software
Indie Flux - Previews, Reviews, News and more!


  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: Not sure if this is a bug or problem but, about MouseEntry/MouseLeave
« Reply #1 on: February 23, 2008, 09:24:42 AM »

actually components of Window are normal Active objects.

I've made myself a tooltips on hovering over window components which used similar logic to this simple example:

Code: [Select]
if (Game.ActiveObject != null)
  var w = Game.ActiveObject;
  if (w.Name == "Button1") do_some_hover_code;

You can set this easily in loop attached to window for example or handle it in game_loop.script (game_daemon.script).
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.018 seconds with 19 queries.