Updated for NWNEE 37-13

Updated for NWNEE 37-13.  Updated NWNxEE.  Full compile. Updated release archive.
This commit is contained in:
Jaysyn904
2025-01-10 20:29:31 -05:00
parent a8639499df
commit 82994dfc26
447 changed files with 10620 additions and 6020 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(NWNX_Reveal, sFunc, iDetectionMethod);
NWNX_PushArgumentObject(NWNX_Reveal, sFunc, oObserver);
NWNX_PushArgumentObject(NWNX_Reveal, sFunc, 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(NWNX_Reveal, sFunc, iDetectionMethod);
NWNX_PushArgumentInt(NWNX_Reveal, sFunc, bReveal);
NWNX_PushArgumentObject(NWNX_Reveal, sFunc, oHiding);
NWNX_CallFunction(NWNX_Reveal, sFunc);
NWNXPushInt(iDetectionMethod);
NWNXPushInt(bReveal);
NWNXPushObject(oHiding);
NWNXCall(NWNX_Reveal, "SetRevealToParty");
}