19 lines
335 B
Plaintext
19 lines
335 B
Plaintext
|
//Put this OnEnter
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetEnteringObject();
|
||
|
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
|
||
|
if (GetItemPossessedBy(oPC, "statueofdeath")!= OBJECT_INVALID)
|
||
|
return;
|
||
|
|
||
|
object oTarget;
|
||
|
object oSpawn;
|
||
|
oTarget = GetWaypointByTag("wp_statueofdeath");
|
||
|
|
||
|
oSpawn = CreateObject(OBJECT_TYPE_ITEM, "statueofdeath", GetLocation(oTarget));
|
||
|
|
||
|
}
|