Modding:Key Mapping (Commands): Difference between revisions

m
remove unnecessary code tag
m (remove unnecessary code tag)
Line 7: Line 7:
Players can then bind a key to the mod's custom command.
Players can then bind a key to the mod's custom command.


When the player presses that key, the mod's custom command is received as an event on the player character. This means that at least a small amount of <code>C#</code> scripting is required to take advantage of the key mapping infrastructure.
When the player presses that key, the mod's custom command is received as an event on the player character. This means that at least a small amount of C# scripting is required to take advantage of the key mapping infrastructure.


== Define Key Mapping Options ==
== Define Key Mapping Options ==