void main() { object oTarget; object oSpawn; location lTarget; object oPC = GetPCSpeaker(); oTarget = GetWaypointByTag("WP_SPn_Kers2"); lTarget = GetLocation(oTarget); oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "kels2", lTarget); oTarget = GetObjectByTag("kersdoor1"); SetLocked(oTarget, FALSE); }