flags=GetTypeFlags(thing);
GetTypeFlags(thing);
Type Flags:
Actor Flags Explosion Flags Item Flags Particle Flags Weapon Flags