LC

From the Oblivion ConstructionSet Wiki
Revision as of 13:30, 6 April 2008 by imported>Speedo (Created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


A command for Pluggy.

Syntax:

(Result:long) LC Formula:string $0:long $1:long ... $8:long $9:long

The Oblivion Set command will create errors when doing calculations on a variable less than -8,388,608 or greater than 8,388,607. When dealing with integer variables outside of that range, this function can be used to perform accurate calculations.

Example

set Result to LC "$0 – ( $1 + $2 / $4 ) % $0 * $3" Long0 Long1 Long2 1478 Long4