Background for Skyrim SE
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.


Parameters

  1. intarg1

    CK Wiki Description

    The first value to OR.

  2. 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 Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.