23 lines
484 B
Plaintext
23 lines
484 B
Plaintext
#include "x0_i0_partywide"
|
|
|
|
void main()
|
|
{
|
|
// Get the PC who is in this conversation.
|
|
object oPC = GetPCSpeaker();
|
|
|
|
object oTarget;
|
|
|
|
SetLocalString(oPC, "bnhrstn", "1");
|
|
|
|
oTarget = GetObjectByTag("Bain");
|
|
|
|
AssignCommand(GetObjectByTag("Hresstan"), SetFacingPoint(GetPosition(oTarget)));
|
|
|
|
// Give 5 XP (to party) to the PC.
|
|
GiveXPToAll(oPC, 5);
|
|
|
|
// Update all players' journals.
|
|
AddJournalQuestEntry("Bain and Hresstan", 1, oPC, FALSE, TRUE);
|
|
}
|
|
|