Lankhmar_PRC8/_module/nss/cnv_spn_braggi_n.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

29 lines
573 B
Plaintext

#include "x0_i0_partywide"
void main()
{
object oTarget;
object oSpawn;
location lTarget;
object oPC = GetPCSpeaker();
// Give 10 experience (to party) to the PC.
GiveXPToAll(oPC, 10);
// Spawn & Speak w/PC
oTarget = GetWaypointByTag("WP_SPn_Braggi_Nob");
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "braggi1", lTarget);
oTarget = oSpawn;
AssignCommand(oTarget, ActionStartConversation(oPC, ""));
// Have "Braggi1" say something.
DelayCommand(2.0, AssignCommand(GetObjectByTag("Braggi1"), SpeakString("PLEASE SPEAK WITH ME!")));
}