Starfield Mod:Script-Math

From Starfield Wiki
Jump to: navigation, search

Provides mathematical utilities for Papyrus scripts.


Definition[edit]

The script header definition.

ScriptName Math Native Hidden


Members[edit]

The members that belong to this script.

  • float Function Abs(float afValue)
  • float Function Acos(float afValue)
  • float Function Asin(float afValue)
  • float Function Atan(float afValue)
  • int Function Ceiling(float afValue)
  • float Function Cos(float afValue)
  • float Function DegreesToRadians(float afDegrees)
  • int Function Floor(float afValue)
  • float Function Pow(float x, float y)
  • float Function RadiansToDegrees(float afRadians)
  • float Function Sin(float afValue)
  • float Function Sqrt(float afValue)
  • float Function Tan(float afValue)
  • float Function Max(float afValue1, float afValue2)
  • float Function Min(float afValue1, float afValue2)
  • float Function Clamp(float ValueToClamp, float afValueMin, float afValueMax)
  • float Function Normalize(float afValue, float afMin, float afMax)
  • int Function Round(float afValueToRound)
  • int Function ExtractDigit(int number, int position, int NonExistentDigit = -1)
  • float Function HoursAsDays(float afHours)
  • float Function MinutesAsDays(float afMinutes)
  • float Function SecondsAsDays(float afSeconds)
  • float Function DaysAsHours(float afDays)
  • float Function DaysAsMinutes(float afDays)
  • float Function DaysAsSeconds(float afDays)