Initial commit
Initial commit [v9.7]
This commit is contained in:
30
_module/nss/conv_spawn_petli.nss
Normal file
30
_module/nss/conv_spawn_petli.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
|
||||
object oTarget;
|
||||
object oSpawn;
|
||||
location lTarget;
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
oTarget = GetWaypointByTag("WP_Spn_Slaver");
|
||||
|
||||
lTarget = GetLocation(oTarget);
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "slaver", lTarget);
|
||||
|
||||
oTarget = oSpawn;
|
||||
|
||||
AssignCommand(oTarget, ActionStartConversation(oPC, ""));
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "slaver", lTarget);
|
||||
|
||||
oTarget = oSpawn;
|
||||
|
||||
AssignCommand(oTarget, ActionStartConversation(oPC, ""));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user