Csc

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Pluggy.

Syntax:

(CodeASCII:short) csc ScanCode:short CaseUP:bool StringID:long Append:bool Global:short

Converts a DX-Scancode returned by GetKeyPress into an ASCII-Code and, if specified, appends the respective letter to a (Pluggy)string.

Notes:[edit | edit source]

  • CaseUp defines whether csc assumes Shift is pressed/CapsLock is enabled (1) or not (0). Default is 0.
  • If Append is 0 the letter replaces the whole string instead of just appending it. Default is 1.
  • If you want to modify a string from another mod, you will need to set the Global flag to 1. If Global is 0 or unset the function will fail. If the string is protected the function will fail.

See also:[edit | edit source]

rcsc