The Math script is a part of Starfield’s Papyrus scripting ecosystem. It is included with the base game.
For this script, the Papyrus index knows about:
- 25 functions
Inheritance Tree
No indexed scripts extend this script.
Structs
The Papyrus Index is still under construction. Structs have not been implemented yet.
Properties
No properties found.
Events
No events found.
Functions
- Found in:
- Vanilla
Converts from degrees to radians.
- Found in:
- Vanilla
Converts from radians to degrees.
- Found in:
- Vanilla
extracts the value of a number at a particular position (0-based, one's place is 0)
examples:
ExtractDigit(567, 0) == 7
ExtractDigit(567, 1) == 6
ExtractDigit(567, 2) == 5
ExtractDigit(567, 999) == -1
ExtractDigit(567, 999, 0) == 0- Found in:
- Vanilla
return a number days for a number of hours - useful for doing math with GameDaysPassed, etc.
- Found in:
- Vanilla
return a number days for a number of minutes - useful for doing math with GameDaysPassed, etc.
- Found in:
- Vanilla
return a number of days for a number of seconds - useful for doing math with GameDaysPassed, etc.
- Found in:
- Vanilla
return a number of hours for a number of days - useful for doing math with GameDaysPassed, etc.
- Found in:
- Vanilla
return a number of Minutes for a number of days - useful for doing math with GameDaysPassed, etc.
- Found in:
- Vanilla
return a number of Seconds for a number of days - useful for doing math with GameDaysPassed, etc.
