generated from Jaysyn/ModuleTemplate
30 lines
549 B
Plaintext
30 lines
549 B
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 1.6
|
|
|
|
For download info, please visit:
|
|
http://www.lilacsoul.revility.com */
|
|
|
|
//Put this OnDeath
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetLastKiller();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
object oTarget;
|
|
object oSpawn;
|
|
location lTarget;
|
|
oTarget = GetWaypointByTag("WP_METZ");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "fyodor", lTarget);
|
|
|
|
oTarget = GetObjectByTag("Metz");
|
|
|
|
AssignCommand(oTarget, ActionPlayAnimation(ANIMATION_LOOPING_DEAD_FRONT, 1.0f, 5.0f));
|
|
|
|
}
|
|
|