Lua GameObject HasFlag

Parameters

 * (flag)


 * flag
 * ID of the flag to check for (see known values).

Details

 * type
 * boolean


 * state
 * True if the specified flag is associated with this game object.

Known Values

 * InUse = 0x01
 * Locked = 0x02
 * ConditionalInteraction = 0x04
 * Transport = 0x08
 * CanNotBeInteracted = 0x10
 * DoesNotDespawn = 0x20
 * Triggered = 0x40
 * GOFlag_0x80 = 0x80
 * GOFlag_0x100 = 0x100
 * Damaged = 0x200
 * Destroyed = 0x400
 * GOFlag_0x800 = 0x800
 * GOFlag_0x1000 = 0x1000
 * GOFlag_0x2000 = 0x2000
 * GOFlag_0x4000 = 0x4000
 * GOFlag_0x8000 = 0x8000
 * Flag_0x10000 = 0x10000
 * Flag_0x20000 = 0x20000
 * Flag_0x40000 = 0x40000