SetFlags: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(New page: Type: Miscellaneous, parameterized Parameter Information: * Args1 = Select Bits Field (no default) ** 1 = Bits ** 2 = Bits2 ** 3 = Bits3 * Args2 = Value to Logical-OR with selected ...)
 
No edit summary
Line 1: Line 1:
Type: Miscellaneous, parameterized  
Type: Miscellaneous, parameterized  


Parameter Information:
===Parameter Information ===
* Args1 = Select Bits Field (no default)  
* Args1 = Select Bits Field (no default)  
** 1 = Bits  
** 1 = Bits  
Line 8: Line 8:
* Args2 = Value to Logical-OR with selected Bits field (default of 0 = 0)  
* Args2 = Value to Logical-OR with selected Bits field (default of 0 = 0)  


Purpose: Adds the flags set in Args2 to the object's Bits field selected by Args1. This "turns on" effects controlled by those bits. New to Eternity.
===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 toggled by this codepointer.


Thunk: Yes.
[[PlayerThunk|Thunk]]: Yes.
[[Category:Codepointers]]

Revision as of 08:14, 22 August 2009

Type: Miscellaneous, parameterized

Parameter Information

  • Args1 = Select Bits Field (no default)
    • 1 = Bits
    • 2 = Bits2
    • 3 = Bits3
  • Args2 = Value to Logical-OR with selected Bits field (default of 0 = 0)

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 toggled by this codepointer.

Thunk: Yes.