Tremulous Forum
		Mods => Modding Center => Topic started by: General Lee on February 15, 2007, 09:22:40 pm
		
			
			- 
				Hello ! 
 
 Actually i try to modify my Config in game menu.
 
 I try to add the USE GRENADE command to the menu, but it s doesn t work..
 
 In game i can see the option, but i can link a key to this option....
 
 This is my script :
 
    itemDef
 {
 name upgrades
 group optionsGrp
 type ITEM_TYPE_BIND
 text "Use grenade:"
 cvar "itemact gren"
 rect 96 210 192 15
 textalign ITEM_ALIGN_RIGHT
 textalignx 90
 maxPaintChars 20
 textaligny 12
 textscale .25
 forecolor 1 1 1 1
 visible 0
 action
 {
 play "sound/misc/menu1.wav";
 }
 }
 
 i tryed with :
 
 itemact "grenade"
 
 but doesn t work.
 
 Can you help me ?
 
 Thx
- 
				try itemact gren
			
- 
				try itemact gren 
 If you look up, you'd know that he did.