Jump to content

Papyrus BINLIB


Recommended Posts

Thought some of those writing for FourPlay might have interest

 

http://www.nexusmods.com/fallout4/mods/23317/?

 

One of the (many) things that Papyrus lacks is bitwise operations. Luckily, with a bit of math, we can emulate them.

Library features:

  • Bitwise operations on integers and boolean arrays (AND, NAND, OR, NOR, XOR, XNOR, NOT)
  • Conversion to and from integer and boolean arrays
  • Bit shifts
  • Single bit manipulation functions

All of the code is hosted on GitHub. Pull requests welcome.

 

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use