Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: How to have SelectedItem image not disappear from inventory?  (Read 2839 times)

0 Members and 1 Guest are viewing this topic.

Dan Peach

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 100
    • View Profile
    • Viperante - Game Development

Good evening,

Basically, when you click an inventory item, the item becomes the mouse cursor, and the image is temporarily removed from the inventory, leaving a space. But, I wish to click the item, and have it highlighted instead, whilst NOT changing the mouse cursor, and NOT leaving a space in the inventory. The player will then simply move the cursor as normal until they click another scene object to "use" the SelectedItem on.

Is this possible? I'm thinking maybe not, but I'm just asking anyway. :)

Thanks.

Dan.

Spellbreaker

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Gender: Male
  • Posts: 376
    • View Profile
    • Apeiron Studios
Re: How to have SelectedItem image not disappear from inventory?
« Reply #1 on: July 03, 2012, 09:33:32 PM »

In the inventory.def there's a "Hide Selected" in the Behavior Tab. And you can add scripts there too to change the behavior of your mouse.

Greets,

Spellbreaker
Logged

Dan Peach

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 100
    • View Profile
    • Viperante - Game Development
Re: How to have SelectedItem image not disappear from inventory?
« Reply #2 on: July 03, 2012, 10:06:49 PM »

Ha! Thanks man. I never thought to check there. I'm so happy it's that simple. Thanks again.  :)
 

Page created in 0.039 seconds with 23 queries.