UTMenu
Class UTExtraKeyBindings

source: e:\games\UnrealTournament\UTMenu\Classes\UTExtraKeyBindings.uc
Core.Object
   |
   +--UTMenu.UTExtraKeyBindings
Direct Known Subclasses:None

class UTExtraKeyBindings
extends Core.Object


Variables
 string AliasNames[30]
 string LabelList[30]
 string SectionName


Source Code


00001	class UTExtraKeyBindings expands Object;
00002	
00003	/*
00004	How to use this,
00005	
00006	1) subclass UTExtraKeyBindings.
00007	2) put the name of your mod in the SectionName variable
00008	3) put the descriptions of the actions in the LabelList array.
00009	4) put the exec functions to be bound in the AliasNames array.
00010	5) make a PackageName.ini file with the following data in it:
00011	
00012	[Public]
00013	Object=(Name=MyPackage.MyKeyBindingsClass,Class=Class,MetaClass=UTMenu.UTExtraKeyBindings)
00014	*/
00015	
00016	var string SectionName;
00017	var string LabelList[30];
00018	var string AliasNames[30];
00019	
00020	//example:
00021	
00022	//defaultproperties
00023	//{
00024	//    SectionName="Capture the Mage"
00025	//	LabelList(0)="Cast Spell"
00026	//	LabelList(1)="Activate Shield"
00027	//  AliasNames(0)="castspell"
00028	//	AliasNames(1)="activateshield"
00029	//}
00030	
00031	defaultproperties
00032	{
00033	}

End Source Code