Browsing StarfallEx's section
← Back to ACE
💬

Community answer

Collected from the ACE community Discord archive around 2019-05-27. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Combining material $flags and Lua version

⭐ StarfallUpdated 2 days ago•0 views
Starfall is LuaJIT 5.1 - use bit.bor to combine $flags values since setInt('$flags',...) overwrites ALL flags at once; adding them arithmetically is wrong for o…

Is Starfall Lua 5.3 / how to combine material flags

Starfall is LuaJIT 5.1 - use bit.bor to combine $flags values since setInt('$flags',...) overwrites ALL flags at once; adding them arithmetically is wrong for overlapping bits.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.