LogicalNot - Math
Revision as of 20:56, 20 April 2017 by imported>Qazaaq (Added F4SE member)
F4SE Member of: Math Script
Inverts arg1's bits.
Despite being named "Logical", this function performs a bitwise operation. Ordinary logical operators are available in vanilla Papyrus.
Syntax
int Function LogicalNot(int arg1) Global Native
Parameters
- arg1: The value to bit inverse.
Return Value
The decimal result of the bit inverse.
Examples
int iA = Math.LogicalNot(0x000063D8) ;iA == -25561
int iC = Math.LogicalNot(127) ;iC == -128