Call of Duty Script Documentation

# getkeybinding(<key binding>)

## Module

    Control

## Summary

    Gets a key binding. Applicable values are: "+scores","+speed","+forward","+back", "+moveleft","+moveright", "+moveup", "+movedown", "+left", "+right", "+strafe", "+lookup", "+lookdown", "+mlook", "centerview", "toggleads","+melee", "+prone", "lowerstance", "raisestance", "togglecrouch", "toggleprone", "goprone", "gocrouch", "+gostand", "weaponslot primary", "weaponslot primaryb", "+offhand", "cycleoffhand", "+attack", "weapprev", "weapnext", "+activate", "+reload", "+leanleft", "+leanright", "screenshot", "screenshotJPEG",

## Example

    firekey = getkeybinding("+attack")/n

## Minimum Number of arguments: 1

    1 : <key binding> a key binding name as a string

## Number of optional arguments: 0

Return to Function List