NWNX:EE  8193.36.12
Reveal

Readme

This plugin allows the selective revealing of a stealthing character to another character or their party.

Files

file  nwnx_reveal.nss
 

Functions

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. More...
 
void NWNX_Reveal_SetRevealToParty (object oHiding, int bReveal, int iDetectionMethod=NWNX_REVEAL_HEARD)
 Sets whether a character remains visible to their party through stealth. More...
 

Function Documentation

◆ NWNX_Reveal_RevealTo()

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.

Parameters
oHidingThe creature who is stealthed.
oObserverThe creature to whom the hider is revealed.
iDetectionMethodCan be specified to determine whether the hidden creature is seen or heard.

Definition at line 29 of file nwnx_reveal.nss.

◆ NWNX_Reveal_SetRevealToParty()

void NWNX_Reveal_SetRevealToParty ( object  oHiding,
int  bReveal,
int  iDetectionMethod = NWNX_REVEAL_HEARD 
)

Sets whether a character remains visible to their party through stealth.

Parameters
oHidingThe creature who is stealthed.
bRevealTRUE for visible.
iDetectionMethodCan be specified to determine whether the hidden creature is seen or heard.

Definition at line 40 of file nwnx_reveal.nss.

Variable Documentation

◆ NWNX_REVEAL_SEEN

const int NWNX_REVEAL_SEEN = 1

Seen.

Definition at line 11 of file nwnx_reveal.nss.

◆ NWNX_REVEAL_HEARD

const int NWNX_REVEAL_HEARD = 0

Heard.

Definition at line 12 of file nwnx_reveal.nss.