Initial commit
Initial commit [v9.7]
This commit is contained in:
24
_module/nss/cnv_dooley_1.nss
Normal file
24
_module/nss/cnv_dooley_1.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
#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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user