Sv GetChar

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::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

[help]
(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