28 lines
808 B
Plaintext
28 lines
808 B
Plaintext
int StartingConditional()
|
|
{
|
|
int iRet = TRUE;//(GetLocalInt(GetModule(), "T1_MODULE_CFG_NOGRAVES ") != TRUE);
|
|
if (iRet == TRUE)
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
if (GetLocalInt(oPC,"T1_PLAYER_GRAVEEXP") >0 )
|
|
{
|
|
object oOldGrave = GetLocalObject(oPC,"T1_PLAYER_LASTGRAVE");
|
|
SetCustomToken(110,GetName(GetArea(oOldGrave)));
|
|
SetCustomToken(111,IntToString(GetLocalInt(oPC,"T1_PLAYER_GRAVEEXP")));
|
|
}
|
|
else
|
|
{
|
|
SetCustomToken(110,"not existant");
|
|
SetCustomToken(111,IntToString(0));
|
|
}
|
|
|
|
string sBP = GetLocalString(oPC,"T1_PLAYER_LASTBINDPOINT_NAME");
|
|
if (sBP == "") sBP = "nowhere";
|
|
SetCustomToken(112,sBP);
|
|
}
|
|
// Get Last Bindpoint here
|
|
|
|
return iRet;
|
|
|
|
}
|