Math
- Found in:
- Vanilla
Inheritance Tree
No indexed scripts extend this script.
Structs
Properties
Events
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.
