NWN2Wiki
Advertisement
// Set the feedback message that is displayed when trying to unlock the object oObject.
// This will only have an effect if the object is set to
// "Key required to unlock or lock" either in the toolset
// or by using the scripting command SetLockKeyRequired().
// - oObject: a door or placeable.
// - sFeedbackMessage: the string to be displayed in the player's text window.
//                     to use the game's default message, set sFeedbackMessage to ""
void SetKeyRequiredFeedback(object oObject, string sFeedbackMessage)

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

Advertisement