GetTrapFlagged

// - oTrapObject: a placeable, door or trigger // * Returns TRUE if oTrapObject has been flagged as visible to all creatures. int GetTrapFlagged(object oTrapObject);