- Found in:
- F4SE
Description
Wiki Description
Shifts value right by n number of bits.
Caveats
Parameters
intvalue
CK Wiki Description
The integer that you wish to shift.
intshiftBy
CK Wiki Description
How many bits to shift to the right.
Examples
int iA = Math.RightShift(2146, 2) ;iA == 536
int iC = Math.RightShift(0x00802000, 9) ;iC == 16400Auto-Generated Example
int myInt__value
int myInt__shiftBy
int returnedValue = Math.RightShift(myInt__value, myInt__shiftBy)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
