Sv GetChar

From the Fallout3 GECK Wiki
Revision as of 09:50, 21 August 2014 by imported>Odessa (Created. source obse docs and guess)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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