SetTrapDetectable

// Sets whether or not the trapped object can be detected. // - oTrapObject: a placeable, door or trigger // - nDetectable: TRUE/FALSE // Note: Setting a trapped object to not be detectable will // not make the trap disappear if it has already been detected. void SetTrapDetectable(object oTrapObject, int nDetectable=TRUE)

WARNING: This function is missing from NWN2 and thus any script which is imported that uses this function will fail to compile