Initial commit
Initial commit [v9.7]
This commit is contained in:
29
_module/nss/approach_shlbrd.nss
Normal file
29
_module/nss/approach_shlbrd.nss
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
if (GetItemPossessedBy(oPC, "bloodredgem")== OBJECT_INVALID)
|
||||
return;
|
||||
|
||||
ClearAllActions();
|
||||
|
||||
object oTarget;
|
||||
object oSpawn;
|
||||
location lTarget;
|
||||
oTarget = GetWaypointByTag("wP_SPn_sheelbabird");
|
||||
|
||||
lTarget = GetLocation(oTarget);
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "sheelbabird", lTarget);
|
||||
|
||||
oTarget = oSpawn;
|
||||
|
||||
AssignCommand(oTarget, ActionStartConversation(oPC, ""));
|
||||
|
||||
DestroyObject(OBJECT_SELF);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user