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: Hiding inventory  (Read 3559 times)

0 Members and 1 Guest are viewing this topic.

TheDerman

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 225
    • View Profile
Hiding inventory
« on: February 05, 2005, 12:56:12 PM »

Hi,

I'm going to have an Inventory entity down in the corner that you click to bring up the inventory in the centre of the screen.

How can I then make the inventory invisible when you move the mouse outside it?

I'm thinking it's the mouseLeave but I'm not sure where to put this, as I can't see any inventory script or inventory window script. Maybe I could have another window the same size as the inventory that is loaded at the same time as the inventory and put the mouseLeave function on that window, to then make both windows invisible again.

Is there any other simpler way?

Thanks.
« Last Edit: February 05, 2005, 06:33:09 PM by TheDerman »
Logged

McCoy

  • The cocido eater
  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 365
  • Spurrrrrrring
    • View Profile
    • Spur Games
Re: Hiding inventory
« Reply #1 on: February 05, 2005, 05:43:14 PM »

Check out the sources of the Fred Demo, I made an inventory exactly as you want yours.
« Last Edit: February 05, 2005, 05:45:57 PM by McCoy »
Logged

Click here to sign my sig!

TheDerman

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 225
    • View Profile
Re: Hiding inventory
« Reply #2 on: February 05, 2005, 07:29:22 PM »

Thanks McCoy - I'll take a look.  :)
Logged

TheDerman

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 225
    • View Profile
Re: Hiding inventory
« Reply #3 on: February 05, 2005, 11:12:24 PM »

Ok, I managed to do what I needed.

Thanks.

 :)
Logged
 

Page created in 0.107 seconds with 24 queries.