Background for Fallout 4
Member of the Math script
intfunctionLogicalOr(intarg1, intarg2)NativeGlobal

Description

Wiki Description

Bitwise ORs arg1 and arg2.

Despite being named "Logical", this function performs a bitwise operation. Ordinary logical operators are available in vanilla Papyrus.


Caveats


Parameters

intarg1

CK Wiki Description

The first value to OR.

intarg2

CK Wiki Description

The second value to OR.


Examples

int iA = Math.LogicalOr(0x000245D9, 0x000E524C) ;iA == 939997
int iC = Math.LogicalOr(212, 39) ;iC == 247

Auto-Generated Example

int myInt__arg1
int myInt__arg2

int returnedValue = Math.LogicalOr(myInt__arg1, myInt__arg2)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.