25 lines
531 B
Plaintext
25 lines
531 B
Plaintext
|
|
||
|
#include "x0_i0_partywide"
|
||
|
|
||
|
void main()
|
||
|
|
||
|
{
|
||
|
object oActor;
|
||
|
|
||
|
// Get the PC who is in this conversation.
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
// Have "mrdooley" perform a sequence of actions.
|
||
|
oActor = GetObjectByTag("mrdooley");
|
||
|
AssignCommand(oActor, ActionMoveToObject(GetNearestObjectByTag("WP_mrdooley1")));
|
||
|
|
||
|
// Set a local string.
|
||
|
SetLocalString(oPC, "mrdooly1", "1");
|
||
|
|
||
|
SetMapPinEnabled (GetObjectByTag ("WP_Rxbry"), TRUE);
|
||
|
|
||
|
// Give 5 experience (to party) to the PC.
|
||
|
GiveXPToAll(oPC, 5);
|
||
|
}
|
||
|
|