Returns the Creature's Unit flags.
These are used to control whether the NPC is attackable or not, among other things.
unitFlags = Creature:GetUnitFlags()
None.
UnitFlags unitFlags