NWNX:EE  8193.37.14
nwnx_reveal.nss
Go to the documentation of this file.
1 
6 const string NWNX_Reveal = "NWNX_Reveal";
7 
10 const int NWNX_REVEAL_SEEN = 1;
11 const int NWNX_REVEAL_HEARD = 0;
13 
18 void NWNX_Reveal_RevealTo(object oHiding, object oObserver, int iDetectionMethod = NWNX_REVEAL_HEARD);
19 
24 void NWNX_Reveal_SetRevealToParty(object oHiding, int bReveal, int iDetectionMethod = NWNX_REVEAL_HEARD);
25 
27 
28 void NWNX_Reveal_RevealTo(object oHiding, object oObserver, int iDetectionMethod = NWNX_REVEAL_HEARD)
29 {
30  NWNXPushInt(iDetectionMethod);
31  NWNXPushObject(oObserver);
32  NWNXPushObject(oHiding);
33  NWNXCall(NWNX_Reveal, "RevealTo");
34 }
35 
36 void NWNX_Reveal_SetRevealToParty(object oHiding, int bReveal, int iDetectionMethod = NWNX_REVEAL_HEARD)
37 {
38  NWNXPushInt(iDetectionMethod);
39  NWNXPushInt(bReveal);
40  NWNXPushObject(oHiding);
41  NWNXCall(NWNX_Reveal, "SetRevealToParty");
42 }
void NWNX_Reveal_RevealTo(object oHiding, object oObserver, int iDetectionMethod=NWNX_REVEAL_HEARD)
Selectively reveals the character to an observer until the next time they stealth out of sight.
Definition: nwnx_reveal.nss:28
void NWNX_Reveal_SetRevealToParty(object oHiding, int bReveal, int iDetectionMethod=NWNX_REVEAL_HEARD)
Sets whether a character remains visible to their party through stealth.
Definition: nwnx_reveal.nss:36
const int NWNX_REVEAL_HEARD
Heard.
Definition: nwnx_reveal.nss:11
const int NWNX_REVEAL_SEEN
Seen.
Definition: nwnx_reveal.nss:10