In the beginning of my game I want to make messages,telling you for example:
"To open the door press the "E" button" OK,but that will work only if the key for oppening a door is "E" and by default in my game it us "E",but if the player changes this button to...for example "F" and goes to the door,the message will appear telling him to press "E" not "F".
So my question is,how to make a message display the button used for something even if the button is being changed by the player?
I know that there's a command for showing the player's name,but for buttons...I have no idea.
HINTS
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
-
- Posts: 335
- Joined: Sat Feb 09, 2008 5:47 pm
- Location: Lanzarote/Canary Islands/Spain
Re: HINTS
What about doing what many commercial games do?
Use the ACTION key (default E) to open doors and...
Use the ACTION key (default E) to open doors and...
Re: HINTS
Yeah, I think Danimita's idea would be the best solution. Scripts can't see what key is assigned to which action. Yet.
RF 0.80 features:
RF 0.80 features:
Configurable key descriptions in the options menu
Script variables to get keys as configured in the options menu

Pain is only psychological.
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Re: HINTS
hmmm,yeah I haven't though about that,thanks guys I'll do it thaat way...I guess another stupid question from me... 
