void main() { object oPlayer = GetEnteringObject(); if (GetIsObjectValid(oPlayer) == FALSE) return; string sWPStart; string sWPSlut; sWPStart = "TAB_WP_SKYGGE_START_006"; sWPSlut = "TAB_WP_SKYGGE_SLUT_006"; if (Random(2) != 0) return; object oWPStart = GetNearestObjectByTag(sWPStart); object oWPSlut = GetNearestObjectByTag(sWPSlut); if (GetIsObjectValid(oWPStart) == FALSE) return; if (GetIsObjectValid(oWPSlut) == FALSE) return; object oSkygge = CreateObject(OBJECT_TYPE_CREATURE, "tab_skygge_run", GetLocation(oWPStart)); AssignCommand(oSkygge, ActionForceMoveToObject(oWPSlut, TRUE)); DelayCommand(2.0, DestroyObject(oSkygge)); }