17 lines
288 B
Plaintext
17 lines
288 B
Plaintext
void main()
|
|
{
|
|
|
|
object oPC = GetLastKiller();
|
|
|
|
object oTarget;
|
|
object oSpawn;
|
|
location lTarget;
|
|
oTarget = GetWaypointByTag("WP_CLOSETPORTAL");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "closetmonsterpor", lTarget);
|
|
|
|
DestroyObject(oSpawn, 300.0);
|
|
}
|