Template:OBSE Format Specifiers

From the Oblivion ConstructionSet Wiki
Revision as of 22:15, 2 February 2008 by imported>DragoonWraith (→‎EX Formatting Functions: indenting)
Jump to navigation Jump to search

EX Formatting Functions

These formatting specifiers will work with OBSE output functions, along with the usual functions.


%r

Prints a return, ending the current line and starting at the next.


%n

Prints the name of the specified reference or object.


%i

Prints the formID of the specified reference or object.


%k

Prints the name of the key for the specified DirectInput scancode, such as those used for IsKeyPressed2.


%c

Prints the specified component of the specified reference or object. Takes two arguments - the reference, and an index. Behaves differently depending on the passed reference:

  • Magic Item: Prints the nth Magic Effect
  • Faction: Prints the nth male rank title