23 lines
487 B
Plaintext
23 lines
487 B
Plaintext
|
#include "dmw_inc"
|
||
|
//
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
int nMyNum = 5;
|
||
|
|
||
|
object oMySpeaker = GetLastSpeaker();
|
||
|
object oMyTarget = GetLocalObject(oMySpeaker, "dmwandtarget");
|
||
|
location lMyLoc = GetLocalLocation(oMySpeaker, "dmwandloc");
|
||
|
|
||
|
string sMyString = GetLocalString(oMySpeaker, "dmw_dialog" + IntToString(nMyNum));
|
||
|
|
||
|
if(sMyString == "")
|
||
|
{
|
||
|
return FALSE;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
SetCustomToken(DMW_START_CUSTOM_TOKEN + nMyNum, sMyString);
|
||
|
return TRUE;
|
||
|
}
|
||
|
}
|