Please login or register.

Login with username, password and session length
Advanced search  

News:

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

Pages: 1 [2]  All

Author Topic: Inventory and response area always on top  (Read 19408 times)

0 Members and 1 Guest are viewing this topic.

Indra Anagram

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 74
  • Periodical returnee
    • View Profile
Re: Inventory and response area always on top
« Reply #15 on: November 17, 2017, 09:08:23 PM »

Hello,
I am away by my notebook where I have demo prepared for you. I am going to upload it on Dropbox tomorrow and share it with you  :)

NAItReIN, that will be really cool! Because you certainly updated it with more code.

Something is wrong on my side, so I'll look for mistakes to correct.

THANKS, NAItReIN! You helped me to advance significantly today.
Logged
Owls are not what they seem...

NAItReIN

  • Occasional poster
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 69
    • View Profile
Re: Inventory and response area always on top
« Reply #16 on: November 17, 2017, 09:15:50 PM »

You're welcome  :) It is really great to see new active WME user  :)
« Last Edit: November 17, 2017, 09:17:49 PM by NAItReIN »
Logged

Indra Anagram

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 74
  • Periodical returnee
    • View Profile
Re: Inventory and response area always on top
« Reply #17 on: November 17, 2017, 09:24:46 PM »

You're welcome  :) It is really great to see new active WME user  :)

NAItReIN, I got it! It was not only enough to replace InventoryWinDark with WinInventoryWinDark in game_loop.script. It was also necessary to do same in game.script:

Code: WME Script
  1.     // we need to store reference to window in global variable because we will use it in other script
  2.     // inventory dark window does exist, but it is not visible
  3.     global WinInventoryWinDark = Game.CreateWindow();
  4.     WinInventoryWinDark.SetImage("interface\inventory.png");
  5.     WinInventoryWinDark.X = 0;
  6.     WinInventoryWinDark.Y = 510;

This code worked finally! HUGE THANKS for your help again and again!
Logged
Owls are not what they seem...

NAItReIN

  • Occasional poster
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 69
    • View Profile
Re: Inventory and response area always on top
« Reply #18 on: November 17, 2017, 09:42:11 PM »

So now it works like your want?
Logged

Indra Anagram

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 74
  • Periodical returnee
    • View Profile
Re: Inventory and response area always on top
« Reply #19 on: November 17, 2017, 09:48:30 PM »

NAItReIN, it looks like it really does!  :D

You rock!
Logged
Owls are not what they seem...

NAItReIN

  • Occasional poster
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 69
    • View Profile
Re: Inventory and response area always on top
« Reply #20 on: November 17, 2017, 09:50:22 PM »

How nice to see that I could help you  :)
Logged

Indra Anagram

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 74
  • Periodical returnee
    • View Profile
Re: Inventory and response area always on top
« Reply #21 on: November 17, 2017, 09:56:34 PM »

NAItReIN, if not for you and anarchist, I wouldn't get through this at all!  ::thumbup

So cool to see ideas becoming something real with WME!
Logged
Owls are not what they seem...
Pages: 1 [2]  All
 

Page created in 0.049 seconds with 21 queries.