LogicalOr - Math
Revision as of 18:22, 17 November 2014 by imported>Foxox (Important information about behavior of this function)
SKSE Member of: Math Script
Bitwise ORs arg1 and arg2.
Despite being named "Logical", this function performs a bitwise operation. Ordinary logical operators are available in vanilla Papyrus.
SyntaxEdit
int Function LogicalOr(int arg1, int arg2) global native
ParametersEdit
- arg1: The first value to OR.
- arg2: The second value to OR.
Return ValueEdit
The decimal result of the OR.
ExamplesEdit
int iA = Math.LogicalOr(0x000245D9, 0x000E524C) ;iA == 939997
int iC = Math.LogicalOr(212, 39) ;iC == 247