Initial commit
Initial commit [v9.7]
This commit is contained in:
32
_module/nss/walk_away_kente.nss
Normal file
32
_module/nss/walk_away_kente.nss
Normal file
@@ -0,0 +1,32 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
object oTarget;
|
||||
object oSpawn;
|
||||
location lTarget;
|
||||
oTarget = GetWaypointByTag("WP_Kente");
|
||||
|
||||
lTarget = GetLocation(oTarget);
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "kels", lTarget);
|
||||
|
||||
oTarget = oSpawn;
|
||||
|
||||
AssignCommand(oTarget, ActionStartConversation(oPC, ""));
|
||||
|
||||
oTarget = GetObjectByTag("Kente");
|
||||
|
||||
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Kente")));
|
||||
|
||||
oTarget = GetObjectByTag("Kente");
|
||||
|
||||
int nInt;
|
||||
nInt = GetObjectType(oTarget);
|
||||
|
||||
oTarget = GetObjectByTag("Kente");
|
||||
|
||||
DestroyObject(oTarget, 1.5);
|
||||
}
|
||||
Reference in New Issue
Block a user