Sv GetChar

Revision as of 08:50, 21 August 2014 by imported>Odessa (Created. source obse docs and guess)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns the ASCII code (0-127) for a single character in a string variable. Added by NVSE 4.1.

Syntax

(ASCIICode:int) Sv_GetChar Source:string_var Position:int

Notes

  • Although ported to NVSE, according to the OBSE docs this function is deprecated by Let, which allows return of a single character: let MyChar := SomeStringVar[Pos].

See Also