void main() { object oTarget; object oSpawn; location lTarget; oTarget = GetWaypointByTag("WP_VERAENTRYPORTAL"); lTarget = GetLocation(oTarget); oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "portaltovera001", lTarget); DestroyObject(oSpawn, 300.0); }