#include "nw_i0_2q4luskan"
/*   Script generated by
Lilac Soul's NWN Script Generator, v. 1.6

For download info, please visit:
http://www.lilacsoul.revility.com    */

//Put this OnUsed
void main()
{

object oPC = GetLastUsedBy();

if (!GetIsPC(oPC)) return;

int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));

if (DoOnce==TRUE) return;

SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);

SendMessageToPC(oPC, "You place the figures from the diorama on the floor.  They grow to life size and attack you.");

object oTarget;
location lTarget;
oTarget = oPC;

lTarget = GetLocation(oTarget);

DelayCommand(3.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "olman001", lTarget));

oTarget = oPC;

lTarget = GetLocation(oTarget);

DelayCommand(3.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "olman001", lTarget));

oTarget = oPC;

lTarget = GetLocation(oTarget);

DelayCommand(3.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "olman", lTarget));

oTarget = oPC;

lTarget = GetLocation(oTarget);

DelayCommand(3.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "olman", lTarget));

oTarget = oPC;

lTarget = GetLocation(oTarget);

DelayCommand(3.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "olman", lTarget));

}
