Editing SetFlags
From Eternity Wiki
Jump to navigationJump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
Type: Miscellaneous, parameterized | |||
===Parameter Information === | ===Parameter Information === | ||
* Args1 | * Args1 = Select Bits Field (no default) | ||
** 1 = Bits | |||
** 1 = | ** 2 = Bits2 | ||
** 2 = | ** 3 = Bits3 | ||
** 3 = | * Args2 = Value to Logical-OR with selected Bits field (default of 0 = 0) | ||
* Args2 | |||
===Purpose and usage=== | ===Purpose and usage=== | ||
Adds the flags set in Args2 to the object's Bits field selected by Args1. This "turns on" effects controlled by those bits. Any flag may be | Adds the flags set in Args2 to the object's Bits field selected by Args1. This "turns on" effects controlled by those bits. Any flag may be toggled by this codepointer. | ||
[[PlayerThunk|Thunk]]: Yes. | |||
[[Category:Codepointers]] | [[Category:Codepointers]] |