16 lines
485 B
Plaintext
16 lines
485 B
Plaintext
|
#include "nw_i0_tool"
|
||
|
void main()
|
||
|
{
|
||
|
object oEntered = GetEnteringObject();
|
||
|
location lLocation = GetLocation(OBJECT_SELF);
|
||
|
if (GetLocalInt(OBJECT_SELF, "ParthDelay")==0)
|
||
|
{
|
||
|
if (HasItem(oEntered, "SamerefsHead"))
|
||
|
{
|
||
|
CreateObject(OBJECT_TYPE_CREATURE, "parthek1", lLocation, TRUE);
|
||
|
SetLocalInt(OBJECT_SELF, "ParthDelay", 1);
|
||
|
DelayCommand(500.0, SetLocalInt(OBJECT_SELF, "ParthDelay", 0));
|
||
|
}
|
||
|
}
|
||
|
}
|