Initial commit
Initial commit [v9.7]
This commit is contained in:
22
_module/nss/dst_spn_lensk2.nss
Normal file
22
_module/nss/dst_spn_lensk2.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
|
||||
object oTarget;
|
||||
object oSpawn;
|
||||
|
||||
// Get the creature who triggered this event.
|
||||
object oPC = GetLastKiller();
|
||||
|
||||
// Only fire once.
|
||||
if ( GetLocalInt(GetModule(), "DO_ONCE__" + GetTag(OBJECT_SELF)) )
|
||||
return;
|
||||
SetLocalInt(GetModule(), "DO_ONCE__" + GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
// Spawn "lenszk2".
|
||||
oTarget = GetWaypointByTag("WP_SPn_Lenszk2");
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "lenszk2", GetLocation(oTarget));
|
||||
AssignCommand(oSpawn, ActionStartConversation(oPC));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user