Initial commit
Initial commit [v9.7]
This commit is contained in:
31
_module/nss/opn_spn_rx2.nss
Normal file
31
_module/nss/opn_spn_rx2.nss
Normal file
@@ -0,0 +1,31 @@
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
|
||||
object oTarget;
|
||||
object oSpawn;
|
||||
location lTarget;
|
||||
|
||||
object oPC = GetLastOpenedBy();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
|
||||
|
||||
if (DoOnce==TRUE) return;
|
||||
|
||||
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
oTarget = GetWaypointByTag("WP_SPnRx2");
|
||||
|
||||
lTarget = GetLocation(oTarget);
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "radomix", lTarget);
|
||||
|
||||
oTarget = oSpawn;
|
||||
|
||||
AssignCommand(oTarget, ActionStartConversation(oPC, ""));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user