Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Inventory question  (Read 3296 times)

0 Members and 1 Guest are viewing this topic.

Antimony

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
    • View Profile
Inventory question
« on: February 25, 2008, 11:12:48 PM »

hi all people...
just a question about inventory...
how is possible  inventory be visible [in the center of the screen] - with right mouse click

best regards Antimony
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Inventory question
« Reply #1 on: February 27, 2008, 01:46:29 PM »

Yes, definitely. The shape and position of the inventory window is defined in WindowEdit. To display the inventory on right-click you'd need to modify game.script, and in the on "RightClick" handler set Game.InventoryVisible to true.

You will also need to modify game_loop.script if you used the standard templates, because by default it handles the sliding inventory.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Antimony

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
    • View Profile
Re: Inventory question
« Reply #2 on: February 27, 2008, 09:35:28 PM »

thanx for help mnemonic
Logged
 

Page created in 0.041 seconds with 23 queries.