Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Mouse Out  (Read 2948 times)

0 Members and 1 Guest are viewing this topic.

deadworm222

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 197
  • Wintermute Army
    • View Profile
Mouse Out
« on: December 15, 2004, 07:03:43 PM »

I'd want the inventory to disappear when you move your mouse out from it but for some reason it doesn't work anymore. It worked with the old version, though.

Code: [Select]
#include "scripts\base.inc"


// ===================================================================
// When mouse leaves the inventory, we want it to disappear
on "MouseLeave"
{
var ActObj = Game.ActiveObject;

if (ActObj.Type=="button" || ActObj.Type=="item")
{
//do nothing

}else{
Game.InventoryVisible=false;
}
}

Any insight?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Mouse Out
« Reply #1 on: December 15, 2004, 07:37:37 PM »

*sigh*
Yet another well-meant change went wrong :(

It will be fixed in the next build. You can download a working version of wme.exe here, it should fix the problem. Sorry about that (again..).
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

deadworm222

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 197
  • Wintermute Army
    • View Profile
Re: Mouse Out
« Reply #2 on: December 15, 2004, 09:47:21 PM »

Thanks, no problem.

Great service. ::thumbup O0 ::rock
Logged
 

Page created in 0.061 seconds with 23 queries.