void main() { int nArmed=GetLocalInt(OBJECT_SELF,"armed"); if (nArmed==0) { return; } object oScorch = CreateObject(OBJECT_TYPE_PLACEABLE, "gz_obj_pkegmark",GetLocation(OBJECT_SELF)); AssignCommand(oScorch,DelayCommand(20.0f,DestroyObject(oScorch))); }