December 03, 2023, 12:03:31 AM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
IRC channel - server:
waelisch.de
channel:
#wme
(
read more
)
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Static Menu
« previous
next »
Pages: [
1
]
Print
Author
Topic: Static Menu (Read 3373 times)
0 Members and 1 Guest are viewing this topic.
kypho
Lurker
Karma: 0
Offline
Posts: 33
Static Menu
«
on:
August 29, 2009, 11:58:51 AM »
Hi Guys!
I am wondering how I could make static actions menu (where my TAKE, LOOK etc. stuff are).
Now I have following problem
if npc on the right and talk, the actions menu goes out of the screen, so
--> I would like to make it stuck in specific place, Static. for example in the middle of the screen
Thanks already
-Kypho
Logged
Mnemonic
WME developer
Administrator
Addicted to WME forum
Karma: 41
Offline
Gender:
Posts: 5683
Re: Static Menu
«
Reply #1 on:
August 31, 2009, 03:53:57 PM »
If you look in game.script, the RightClick handler positions the menu on screen, so that it appears at the mouse pointer. You can change this code to display the menu wherever you want.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum.
kypho
Lurker
Karma: 0
Offline
Posts: 33
Re: Static Menu
«
Reply #2 on:
September 24, 2009, 04:56:05 PM »
kicks ass
no positioning is correct
thanx Mnem!
Logged
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Static Menu