PRC8/trunk/scripts/dynconv_next_w.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

27 lines
632 B
Plaintext

//:://////////////////////////////////////////////
//:: Dynamic Conversation: Show next choices node?
//:: dynconv_next_w
//:://////////////////////////////////////////////
/** @file
Determines whether there are more entries to
show.
@author Primogenitor
*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
#include "inc_dynconv"
int StartingConditional()
{
object oPC = GetPCSpeaker();
int nOffset = GetLocalInt(oPC, DYNCONV_CHOICEOFFSET);
if(nOffset + 10 < array_get_size(oPC, "ChoiceTokens"))
return TRUE;
else
return FALSE;
}