27 lines
810 B
Plaintext
27 lines
810 B
Plaintext
#include "gzinc_daoctools"
|
|
void main()
|
|
{
|
|
|
|
string strName = GetLocalString(OBJECT_SELF,"T1_OBJECT_GRAVEOWNER");
|
|
object oRec = GetLocalObject(OBJECT_SELF,"T1_OBJECT_PLAYER");
|
|
object oPC = GetLastSpeaker();
|
|
|
|
if (oRec != OBJECT_INVALID)
|
|
{
|
|
AssignCommand(oRec,ActionStartConversation(oRec,"daoc_recall_conv",TRUE));
|
|
DelayCommand(30.0,AssignCommand(oRec,ClearAllActions()));
|
|
|
|
if(oPC != OBJECT_INVALID)
|
|
{
|
|
AssignCommand(oPC,ActionPlayAnimation(ANIMATION_LOOPING_WORSHIP,1.0,8.0));
|
|
string deity = GetDeity(oPC);
|
|
if(deity != "")
|
|
deity +=", ";
|
|
AssignCommand(oPC,SpeakString(deity+"Please save the soul of my fallen comrade."));
|
|
}
|
|
}
|
|
else
|
|
ActionSpeakString("Recall not possible");
|
|
|
|
}
|