Initial commit
Initial commit [v9.7]
This commit is contained in:
22
_module/nss/bain_rey.nss
Normal file
22
_module/nss/bain_rey.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
#include "x0_i0_partywide"
|
||||
|
||||
void main()
|
||||
{
|
||||
// Get the PC who is in this conversation.
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
object oTarget;
|
||||
|
||||
SetLocalString(oPC, "bnrey", "1");
|
||||
|
||||
oTarget = GetObjectByTag("Bain");
|
||||
|
||||
AssignCommand(GetObjectByTag("Rey"), SetFacingPoint(GetPosition(oTarget)));
|
||||
|
||||
// Give 5 XP (to party) to the PC.
|
||||
GiveXPToAll(oPC, 5);
|
||||
|
||||
// Update all players' journals.
|
||||
AddJournalQuestEntry("Bain and Rey", 1, oPC, FALSE, TRUE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user