Difference between revisions of "StringToInt"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Speedo
(New page: {{Beta}} A command for Pluggy. '''Syntax:''' (Result:long) StringToInt StringID:long Converts a string into a integer variable. If th...)
 
imported>Speedo
(Graduating from beta)
 
Line 1: Line 1:
{{Beta}}
A command for [[:Category: Pluggy|Pluggy]].
A command for [[:Category: Pluggy|Pluggy]].



Latest revision as of 20:47, 25 March 2008

A command for Pluggy.

Syntax:

(Result:long) StringToInt StringID:long

Converts a string into a integer variable. If the string does not contain a properly formatted int, it will return 0.

  • You may specify a hexadecimal number in the string, but it must be preceded with "0x". For example, the string "0x4B" would return the value 75.