Definegamefuncname: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 6: Line 6:


definegamefuncname 11 ALT_FIRE // changes the name of function 11 from "LOOK UP" to "ALT FIRE"
definegamefuncname 11 ALT_FIRE // changes the name of function 11 from "LOOK UP" to "ALT FIRE"
[[Category:EDuke32 specific commands]]

Revision as of 18:25, 27 July 2006

definegamefuncname <function> <name>

This command, similar to definequote, allows the CON coder to rename the various game input functions. Note that the name of the function should contain underscores _ instead of spaces. Functions are in the same order as they appear in the key configuration menu. Thus, function 0 is Move Forward, and function 52 is Show Console.

EXAMPLE:

definegamefuncname 11 ALT_FIRE // changes the name of function 11 from "LOOK UP" to "ALT FIRE"