Shargast_PRC8/_module/_removed/Chapter 1/mn_test_dialogx.nss
Jaysyn904 66a0a3e043 Initial commit
Initial commit.
2024-08-03 14:13:18 -04:00

34 lines
957 B
Plaintext

// :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
//:::::::::::::::::::::::: Shayan's Subrace Engine :::::::::::::::::::::::::::::
// ::::::::::Extension: Moon's Subrace Selection Converstion for SSE :::::::::::
// ::::::::::::Contact: http://p2.forumforfree.com/shayan.html::::::::::::::::::
// ::::
// :::: Written by: DM_Moon
// ::
// :: Description: Subrace Conversation used in SSE's Wand system.
// ::
#include "sha_subr_consts"
int StartingConditional()
{
object oMySpeaker = GetLastSpeaker();
//This starts with 0 for token 8111
int nMyNum = GetLocalInt(oMySpeaker, "subrace_dm_wand_pos");
nMyNum++;
SetLocalInt(oMySpeaker, "subrace_dm_wand_pos", nMyNum);
string sMyString = GetLocalString(oMySpeaker, "mn_dialog" + IntToString(nMyNum));
if(sMyString == "")
{
return FALSE;
}
else
{
SetCustomToken(MN_START_CUSTOM_TOKEN + nMyNum, sMyString);
return TRUE;
}
}