Remap

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Remaps the value to a new range.

Syntax

[help]
(float) Remap value:float min1:float max1:float min2:float max2:float

Example

set fVal to Remap val min1 max1 min2 max2