void main() { object oCreature = GetFirstObjectInShape(SHAPE_SPHERE, 10.0, GetLocation(OBJECT_SELF)); { AssignCommand(oCreature, SetIsDestroyable(TRUE)); DelayCommand(30.0, DestroyObject(oCreature)); } }