Updated for NWNEE 37-13

Updated for NWNEE 37-13.  Updated NWNxEE scripts.  CODI Core AI tweaks.  Added Diamond Golem AI.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2025-01-10 19:01:12 -05:00
parent 37c79b6d57
commit ce72b8d120
685 changed files with 6642 additions and 7699 deletions

View File

@@ -2,7 +2,6 @@
/// @brief Allows the selective revealing of a stealthing character to another character or their party.
/// @{
/// @file nwnx_reveal.nss
#include "nwnx"
const string NWNX_Reveal = "NWNX_Reveal"; ///< @private
@@ -28,22 +27,16 @@ void NWNX_Reveal_SetRevealToParty(object oHiding, int bReveal, int iDetectionMet
void NWNX_Reveal_RevealTo(object oHiding, object oObserver, int iDetectionMethod = NWNX_REVEAL_HEARD)
{
string sFunc = "RevealTo";
NWNX_PushArgumentInt(iDetectionMethod);
NWNX_PushArgumentObject(oObserver);
NWNX_PushArgumentObject(oHiding);
NWNX_CallFunction(NWNX_Reveal, sFunc);
NWNXPushInt(iDetectionMethod);
NWNXPushObject(oObserver);
NWNXPushObject(oHiding);
NWNXCall(NWNX_Reveal, "RevealTo");
}
void NWNX_Reveal_SetRevealToParty(object oHiding, int bReveal, int iDetectionMethod = NWNX_REVEAL_HEARD)
{
string sFunc = "SetRevealToParty";
NWNX_PushArgumentInt(iDetectionMethod);
NWNX_PushArgumentInt(bReveal);
NWNX_PushArgumentObject(oHiding);
NWNX_CallFunction(NWNX_Reveal, sFunc);
NWNXPushInt(iDetectionMethod);
NWNXPushInt(bReveal);
NWNXPushObject(oHiding);
NWNXCall(NWNX_Reveal, "SetRevealToParty");
}