Initial commit
Initial commit [v9.7]
This commit is contained in:
28
_module/nss/walk_away_tcrier.nss
Normal file
28
_module/nss/walk_away_tcrier.nss
Normal file
@@ -0,0 +1,28 @@
|
||||
#include "x0_i0_partywide"
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oTarget;
|
||||
object oSpawn;
|
||||
location lTarget;
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
// Give 5 experience (to party) to the PC.
|
||||
GiveXPToAll(oPC, 5);
|
||||
|
||||
oTarget = GetObjectByTag("TownCrier");
|
||||
DestroyObject(oTarget, 3.3);
|
||||
|
||||
oTarget = oPC;
|
||||
lTarget = GetLocation(oTarget);
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "ningbird", lTarget);
|
||||
oTarget = oSpawn;
|
||||
AssignCommand(oTarget, ActionStartConversation(oPC, ""));
|
||||
|
||||
oTarget = GetObjectByTag("ent_cnv_twncr");
|
||||
DestroyObject(oTarget, 4.0);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user