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