21 lines
402 B
Plaintext
21 lines
402 B
Plaintext
|
|
||
|
#include "x0_i0_partywide"
|
||
|
|
||
|
void main()
|
||
|
|
||
|
{
|
||
|
object oSelf = OBJECT_SELF;
|
||
|
|
||
|
// Get the PC who is in this conversation.
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
// Cutscene functions:
|
||
|
SetCutsceneMode(oPC, FALSE);
|
||
|
|
||
|
// Give 5 XP (to party) to the PC.
|
||
|
GiveXPToAll(oPC, 5);
|
||
|
|
||
|
// Destroy an object (not fully effective until this script ends).
|
||
|
DelayCommand(4.5, DestroyObject(oSelf));
|
||
|
}
|