PRC8_fork/nwn/nwnprc/trunk/scripts/dynconv_end_w.nss

26 lines
597 B
Plaintext
Raw Permalink Normal View History

//:://////////////////////////////////////////////
//:: Dynamic Conversation: Show end node?
//:: dynconv_end_w
//:://////////////////////////////////////////////
/** @file
Determines whether the PC is allowed to see
the conversation exit node.
@author Ornedan
*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
#include "inc_dynconv"
int StartingConditional()
{
object oPC = GetPCSpeaker();
if(GetLocalInt(oPC, "DynConv_AllowExit") == DYNCONV_EXIT_ALLOWED_SHOW_CHOICE)
return TRUE;
else
return FALSE;
}