29 lines
573 B
Plaintext
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!")));
|
|
|
|
}
|
|
|