Background for Skyrim SE
Member of the PapyrusUtil script
intfunctionSignInt(booldoSign, intvalue)NativeGlobal

Description

Documentation Comment

Returns the given value signed if bool is true, unsigned if false, regardless if value started out signed or not.


Caveats


Parameters

booldoSign

intvalue


Examples

Auto-Generated Example

bool myBool__doSign
int myInt__value

int returnedValue = PapyrusUtil.SignInt(myBool__doSign, myInt__value)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.