Rcsc

From The Elder Scrolls Construction Set Wiki

A command for Pluggy.

Syntax:

(Result:long) rcsc StringID:long Position:long

rcsc is the reverse function of csc. It converts the character at Position in the StringID into its matching localized ScanCode.

[edit] Notes:

  • The result needs to be interpreted before being used.
    • If the result is between [0..255] it's directly the correct ScanCode which correspond to an "UnShifted" key.
    • If the result is between [256..511], it means it correspond to a SHIFT or CAPS +KEY, then you have to do Result - 256 to get the ScanCode of the key.
  • If position is omitted it is assumed to be 1 converting the first character of StringID.

[edit] See also:

csc

Personal tools