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

39 lines
1.1 KiB
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 "mn_conv_inc"
#include "sha_wand_inc"
int StartingConditional()
{
int nMyNum = 0;
SetLocalInt(oMySpeaker, "subrace_dm_wand_pos", nMyNum);
//Check whether this conversation has been started already, start it if not.
int nStarted = GetLocalInt(oMySpeaker, "mn_started");
if(! nStarted)
{
SetLocalInt(oMySpeaker, "mn_started", 1);
moon_StartConversation();
}
string sMyString = GetLocalString(oMySpeaker, "mn_dialog" + IntToString(nMyNum));
if(sMyString == "")
{
return FALSE;
}
else
{
SetCustomToken(MN_START_CUSTOM_TOKEN + nMyNum, sMyString);
return TRUE;
}
}